Stamatis Zampetakis created HIVE-29399:
------------------------------------------

             Summary: Remove SqlSyntax.FUNCTION_STAR from AVG and SUM functions
                 Key: HIVE-29399
                 URL: https://issues.apache.org/jira/browse/HIVE-29399
             Project: Hive
          Issue Type: Task
            Reporter: Stamatis Zampetakis
            Assignee: Stamatis Zampetakis


The AVG (HiveSqlAverageAggFunction) and SUM (HiveSqlSumAggFunction) functions 
don't support the special FUNCTION_STAR syntax and trying to write queries 
including AVG(*) or SUM(*) currently fail (see invalid_avg_syntax.q, 
invalid_sum_syntax.q tests).

The SqlSyntax.FUNCTION_STAR syntax for SUM/AVG was incorrectly set by 
HIVE-29339 so this ticket is a follow-up to restore the previous and correct 
behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to