Skip to content

[8.17] Fix empty VALUES with ordinals grouping (#130861) #130874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jul 8, 2025

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

We should not build the sorted structure for the ordinal grouping
operator if the requested position is larger than maxGroupId. This
situation occurs with nulls. We should benchmark the ordinal blocks and
consider removing the ordinal grouping operator if performance is
similar; otherwise, we need to integrate this operator with
GroupingAggregatorFunctionTestCase.

Relates elastic#130576

(cherry picked from commit f58d291)

# Conflicts:
#	x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/OperatorTests.java
@dnhatn dnhatn added the backport label Jul 8, 2025
@dnhatn dnhatn merged commit 6bf66ac into elastic:8.17 Jul 9, 2025
16 checks passed
@dnhatn dnhatn deleted the backport/8.17/pr-130861 branch July 9, 2025 04:25
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.

2 participants