标签: apache-spark spark-dataframe
您好我正在尝试使用withColumn&我的spark包中的WHEN语句。但是当我尝试执行以下语句时,我收到错误not found: value when。请帮忙。提前谢谢。
withColumn
WHEN
not found: value when
val df2 = df1.withColumn("status", when("count > 0", "Fulfilled")).select("pak", "id", "status")