Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2021 02:25 AM
Not a literal answer:
https://docs.databricks.com/spark/latest/dataframes-datasets/complex-nested-data.html
You can try to achieve this using a defined schema, and then read the table, or more advanced technique like regex etc.
There are quite some options when working with nested data as you will see.
You could even work with delta lake and check constraints.
(https://docs.microsoft.com/en-us/azure/databricks/delta/delta-constraints)