Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 08:20 AM
Hello!
You can override the inferred schema by providing schema hints.
.option("cloudFiles.schemaHints", "name string, age int")
For your situation , I guess the following should work
.option("cloudFiles.schemaHints", "<column name> long")