spark dataframe所有列

spark dataframe获取所有列名:

dataFrame.schema.fields.map(f =>f.name).toList

你可能感兴趣的:(hadoop,经验分享,spark,dataframe获取所有列,dataframe获取所有列)