You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2015/11/02 23:05:27 UTC
[jira] [Commented] (HIVE-12305) CBO: Calcite Operator To Hive
Operator (Calcite Return Path): UDAF can not pull up constant expressions
[ https://issues.apache.org/jira/browse/HIVE-12305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986144#comment-14986144 ]
Ashutosh Chauhan commented on HIVE-12305:
-----------------------------------------
Fix in this patch is a guard against failures, but knowing which expr is constant in GBY's aggregation function arguments could be better done using Metadata provider of Calcite. It will be good to add a #TODO in comment for this.
+1 LGTM
> CBO: Calcite Operator To Hive Operator (Calcite Return Path): UDAF can not pull up constant expressions
> -------------------------------------------------------------------------------------------------------
>
> Key: HIVE-12305
> URL: https://issues.apache.org/jira/browse/HIVE-12305
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Pengcheng Xiong
> Assignee: Pengcheng Xiong
> Attachments: HIVE-12305.01.patch
>
>
> to repro, run annotate_stats_groupby.q with return path turned on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)