Selecting struct type columns with '.' in the column name in PySpark

前端 未结 0 1533
灰色年华
灰色年华 2021-02-08 05:54

How do I select the "cat.item.category" columns in PySpark? The schema is as follows,

root
 |-- result: struct (nullable = true)
 |    |-- active: strin         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题