Flattening a Nested Recursive JSON Structure into a Struct List
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 05:10 AM
This is from Spark Event log on Event SparkListenerSQLExecutionStart.
How to flatten the sparkPlanInfo struct into an array of the same struct, then later explode it. Note that the element children is an array containing the parent struct, and the level of nesting could be 0 to any random number.
Labels:
- Labels:
-
Workflows