hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2592) ConstantOI doesn't always propagate to UDAF
Date Tue, 22 Nov 2011 00:31:39 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phabricator updated HIVE-2592:
------------------------------

    Attachment: HIVE-2592.D513.2.patch

jonchang updated the revision "HIVE-2592 [jira] ConstantOI doesn't always propagate to UDAF".
Reviewers: JIRA

  Rebase ant lint fixes.

REVISION DETAIL
  https://reviews.facebook.net/D513

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnInfo.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/ExprProcFactory.java
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
  ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeColumnDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeConstantDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeFieldDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeGenericFuncDesc.java
  ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeNullDesc.java
  ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java

                
> ConstantOI doesn't always propagate to UDAF
> -------------------------------------------
>
>                 Key: HIVE-2592
>                 URL: https://issues.apache.org/jira/browse/HIVE-2592
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jonathan Chang
>            Assignee: Jonathan Chang
>         Attachments: HIVE-2592.D513.1.patch, HIVE-2592.D513.2.patch
>
>
> Depending on the query plan, a UDAF may not actually get a constant OI.  E.g.,
> set hive.map.aggr=false;
> SELECT percentile_approx(cast(substr(src.value,5) AS double), 0.5) FROM src;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message