dataframe 设置 DF() schema

val colName = Array("a","b","c")
resultDF.toDF(colName:_*)

你可能感兴趣的:(dataframe 设置 DF() schema)