Spark - Group by multiple columns VS Group by an id created from the same multiple columns

前端 未结 0 1917
心在旅途
心在旅途 2021-02-19 05:53

Is it a good idea to create an id from multiple columns and then make a group by ? Maybe grouping data by one column (the id) is more efficient?

Example:

m         


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