Hive 为什么配置单元中的窗口函数不支持按日期排序?

Hive 为什么配置单元中的窗口函数不支持按日期排序?,hive,hiveql,Hive,Hiveql,在表中,用户可以有多个日期的行。目标是获得每个用户的第一行(按日期定义)。我尝试下面的示例查询,它抛出一个错误,表示不支持日期类型 查询: select user_id, first_value(f0) over(partition by user_id order by activation_date asc) from table limit 10 错误: FAILED: SemanticException Failed to breakup Windowing invocations

在表中,用户可以有多个日期的行。目标是获得每个用户的第一行(按日期定义)。我尝试下面的示例查询,它抛出一个错误,表示不支持日期类型

查询:

select user_id, first_value(f0) over(partition by user_id order by activation_date asc) from  table limit 10
错误:

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: Primitve type DATE not supported in Value Boundary expression
查询使用时间戳(激活日期)工作。来自BigQuery的背景,我经常使用date,并且认为它是一个非常有用的特性。在配置单元中不支持按日期排序(在窗口函数中)有什么原因吗