Resolved! Flatten Deep Nested Struct
Hi All,I have a deeply nested spark dataframe struct something similar to below |-- id: integer (nullable = true) |-- lower: struct (nullable = true) | |-- field_a: integer (nullable = true) | |-- upper: struct (containsNull = true) | | ...
- 17360 Views
- 3 replies
- 2 kudos
Latest Reply
@Aidonis You can try this as well:flatten-spark-dataframe · PyPIThis also allows for specific level of flattening.
- 2 kudos