I want to rank conversation ids by their count of occurrences, so the first occurance is ranked as 1, second is ranked as 2, third is 3 etc.
I am getting a syntax error so most likely something is off
select
conversationid,
rank() over (partition by conversationid order by count(*) desc) as rnk
from my_table
group by conversationid
Error while compiling statement: FAILED: SemanticException Failed to breakup Windowing invocations into Groups. At least 1 group must only depend on input columns. Also check for circular dependencies. Underlying error: org.apache.hadoop.hive.ql.parse.SemanticException: line 7:54 Not yet supported place for UDAF 'count'