使用rank()排序报错:
2019-04-28 09:35:08,100 FAILED: SemanticException Failed to breakup Windowing invocations into Groups. At least 1 group must only depend on input columns. Also check for circular dependencies.
2019-04-28 09:35:08,101 Underlying error: org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException: One or more arguments are expected.
解决方法:
把rank()修改为dense_rank()
Hive 版本:2.0.0-SNAPSHOT