You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2013/06/09 07:47:26 UTC

[jira] [Created] (HIVE-4692) Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases

Navis created HIVE-4692:
---------------------------

             Summary: Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases
                 Key: HIVE-4692
                 URL: https://issues.apache.org/jira/browse/HIVE-4692
             Project: Hive
          Issue Type: Bug
            Reporter: Navis
            Priority: Minor


HIVE-3495 fixed this for single gbys but not for multi-gbys. For example,
 
{noformat}
FROM (select key, cast(key as double) as value from src order by key) a
INSERT OVERWRITE TABLE e1
    SELECT COUNT(*)
INSERT OVERWRITE TABLE e2
    SELECT percentile_approx(value, 0.5);

FAILED: UDFArgumentTypeException The second argument must be a constant, but double was passed instead.
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira