I want to know how to use if condition in spark withColumn

后端 未结 0 646
失恋的感觉
失恋的感觉 2020-12-13 07:51

As shown in the picture, I want to data by when condition in spark. So I wrote the code as below. (java)

optionDF = optionDF.withColumn("type&quo         


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