Zoltan Haindrich created HIVE-23527:
---------------------------------------
Summary: CUME_DIST should be threated as a function returning
double
Key: HIVE-23527
URL: https://issues.apache.org/jira/browse/HIVE-23527
Project: Hive
Issue Type: Bug
Reporter: Zoltan Haindrich
Assignee: Zoltan Haindrich
right now it is handled as integer in calcite - which might cause some trouble
(at least for me)
Interestingly enough it seems like only percent_rank has double type
https://github.com/apache/hive/blob/b047cfae872244e769f5d1c3c11811d1c49c19ad/ql/src/java/org/apache/hadoop/hive/ql/parse/type/HiveFunctionHelper.java#L392
since this change goes back to HIVE-9133 and seems to me that removing this
tweak is just works - I'll submit a patch to remove this conditional
--
This message was sent by Atlassian Jira
(v8.3.4#803005)