How to avoid column names like 'sum()' in aggregation in Spark/Scala?

前端 未结 0 1828
轮回少年
轮回少年 2020-12-07 19:11

The aggregation

df.groupBy($"whatever").sum("A","B","C")

produces a DataFrame with column names like

相关标签:
回答
  • 消灭零回复
提交回复
热议问题