'Infer JSON Schema from a Spark Dataframe String Column
I have a spark dataframe with a single string column storing json values.
I need to infer the json schema from that string column and create another dataframe based on that json schema with multiple columns.
Json string values have multiple levels of hierarchy.
How can this be accomplished in PySpark? LOL I am breaking my head...
Much help would be appreciated.
Best Regards
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
