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

Ashutosh Chauhan commented on HIVE-16494:
-----------------------------------------

Patch looks good. Can you check TestNegativeCliDriver to see if they are 
because of the patch? If so, it will be good to address them since instead of 
compile time they are failing at run time now.

> 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