我有模式的數據幀像下面火花斯卡拉 - JSON字符串轉換成JSON結構
|-- aaa: string (nullable = true)
|-- bbb: long (nullable = false)
|-- ccc: string (nullable = true)
|-- ddd: string (nullable = true)
|-- eee: long (nullable = false)
我已經有結果VAL針對以上。
我想要的模式轉換如下用火花斯卡拉
|ddd:struct (nullable = true)
|-- aaa: string (nullable = true)
|-- bbb: string (nullable = true)
|-- ccc: string (nullable = true)
|-- eee: string (nullable = true)
請幫
請出示你的努力和發佈您的代碼。 –
歡迎來到計算器。請給出你的問題的更詳細的描述。儘可能包含代碼。 –