hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18254) Use proper AVG Calcite primitive instead of Other_FUNCTION
Date Sun, 10 Dec 2017 07:11:00 GMT

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

Ashutosh Chauhan commented on HIVE-18254:
-----------------------------------------

+1

> Use proper AVG Calcite primitive instead of Other_FUNCTION
> ----------------------------------------------------------
>
>                 Key: HIVE-18254
>                 URL: https://issues.apache.org/jira/browse/HIVE-18254
>             Project: Hive
>          Issue Type: Bug
>            Reporter: slim bouguerra
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-18254.patch
>
>
> Currently Hive-Calcite operator tree treats AVG function as an unknown function that
has a Calcite Sql Kind of Other_FUNCTION. This is an issue that can get into the way of rules
like {{org.apache.calcite.rel.rules.AggregateReduceFunctionsRule}}.
> This patch adds the avg function to the list of known aggregate function.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message