Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2021 06:03 AM
Hi all this is due to empty struct column which autoloader is confusing with a struct with some schema.
If we know the struct schema based on past give schema hint to autoloader for the struct or read this column as string and then parse it later using from_json or regexp_extract
https://docs.databricks.com/spark/latest/structured-streaming/auto-loader-schema.html#schema-hints