Skip to content

[9.1] Fix empty VALUES with ordinals grouping (#130861) #130864

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 8, 2025

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jul 8, 2025

Backports the following commits to 9.1:

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
@dnhatn dnhatn added :Analytics/ES|QL AKA ESQL >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Jul 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit f1ef835 into elastic:9.1 Jul 8, 2025
34 checks passed
@dnhatn dnhatn deleted the backport/9.1/pr-130861 branch July 8, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants