I have parquet file. I loaded using Spark.And one of the value is nested key,value pairs. How do I flatten?
df.printSchema
root
|-- location: string (nullable = true)
|-- properties: string (nullable = true)
texas,{"key":{"key1":"value1","key2":"value2"}}
thanks,