You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "slim bouguerra (JIRA)" <ji...@apache.org> on 2017/12/08 16:29:00 UTC

[jira] [Created] (HIVE-18254) Use proper AVG Calcite primitive instead of Other_FUNCTION

slim bouguerra created HIVE-18254:
-------------------------------------

             Summary: 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


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)