hive Expression Not In Group By Key

前端 未结 3 2126
后悔当初
后悔当初 2020-12-09 18:37

I create a table in HIVE. It has the following columns:

id bigint, rank bigint, date string

I want to get avg(rank) per month. I can use th

3条回答
  •  悲哀的现实
    2020-12-09 19:04

    This is because there is more than one ‘date_saved’ record under your group by. You can turn these ‘date_saved’ records into arrays and output them.

提交回复
热议问题