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