spark 新建一个column并用另一column的最大值赋值
finalDF.withColumn("NEW_COLUMN", max("start_date").over()).show()
Ref:
https://stackoverflow.com/questions/59199685/create-a-new-column-with-max-value-of-another-column
转载请注明出处 http://www.cnblogs.com/mashuai-191/