Skip to content

Conversation

@zabetak
Copy link
Member

@zabetak zabetak commented Jan 9, 2026

What changes were proposed in this pull request?

Remove special FUNCTION_STAR syntax from AVG and SUM functions since AVG(*) and SUM(*) are explicitly not supported in Hive.

Why are the changes needed?

  1. Restore the regression introduced by HIVE-29339.
  2. Remove unnecessary overrides and prevent confusion.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests

@zabetak zabetak changed the title Remove SqlSyntax.FUNCTION_STAR from AVG and SUM functions HIVE-29399: Remove SqlSyntax.FUNCTION_STAR from AVG and SUM functions Jan 12, 2026
@zabetak zabetak marked this pull request as ready for review January 12, 2026 16:01
@zabetak
Copy link
Member Author

zabetak commented Jan 12, 2026

Hey @soumyakanti3578 , since you are familiar with HIVE-29339 can you please take a look on this small follow-up?

@sonarqubecloud
Copy link

Copy link
Contributor

@soumyakanti3578 soumyakanti3578 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zabetak LGTM, but do you think we need to add [ADDENDUM] to the title?

@zabetak zabetak merged commit 9e7f289 into apache:master Jan 13, 2026
4 checks passed
@zabetak zabetak deleted the agg-syntax branch January 13, 2026 12:49
@zabetak
Copy link
Member Author

zabetak commented Jan 13, 2026

Many thanks for the review @soumyakanti3578 !

It's not necessary to add [ADDENDUM] cause the PR has its dedicated JIRA id and its self-contained. [ADDENDUM] is used when we are committing changes under the same JIRA ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants