[ 
https://issues.apache.org/jira/browse/HIVE-16494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372846#comment-16372846
 ] 

Miklos Gergely commented on HIVE-16494:
---------------------------------------

The issue was that TypeCheckProcFactory did not handle lists containing 
constant elements as constant-lists.

> udaf percentile_approx() may fail on CBO
> ----------------------------------------
>
>                 Key: HIVE-16494
>                 URL: https://issues.apache.org/jira/browse/HIVE-16494
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO, Logical Optimizer, UDF
>            Reporter: Ashutosh Chauhan
>            Assignee: Miklos Gergely
>            Priority: Major
>         Attachments: HIVE-16494.patch
>
>
> select percentile_approx(key, array(0.50, 0.70, 0.90, 0.95, 0.99)) from t; 
> fails with error : The second argument must be a constant. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to