Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2022 11:35 AM
Thank you for your reply!
The documentation mentions passing a schema to AutoLoader but does not explain how. The solution is simply to use the .schema method like so:
spark.\
readStream.\
schema(<schema>).\
format("cloudFiles").\
load()
Best,
Cosimo.