[ https://issues.apache.org/jira/browse/HIVE-23527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich updated HIVE-23527: ------------------------------------ Attachment: HIVE-23527.01.patch > 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 > Priority: Major > Attachments: HIVE-23527.01.patch, HIVE-23527.01.patch > > > 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)