How do I check if column present in the Spark DataFrame

后端 未结 0 1711
轻奢々
轻奢々 2021-02-11 13:27

i am trying a logic to Return empty column if column does not exist in dataframe. Schema changes very frequent, sometime the whole struct will be missing (temp1) or array inside

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