Skip to content

ESQL: Fix INLINE STATS + FORK + pushdown bug#138633

Merged
nik9000 merged 12 commits intoelastic:mainfrom
nik9000:esql_push_diff
Dec 11, 2025
Merged

ESQL: Fix INLINE STATS + FORK + pushdown bug#138633
nik9000 merged 12 commits intoelastic:mainfrom
nik9000:esql_push_diff

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Nov 26, 2025

Fixes a bug that comes up when combining field loading pushown, INLINE STATS, and FORK. Speeds up pushdown rule by going in one pass.

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 26, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

List<NamedExpression> projections = new ArrayList<>(project.projections());
projections.addAll(addedAttrs.values());
return project.withProjections(projections);
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Doing this on Project helps here.

Copy link
Copy Markdown
Contributor

@limotova limotova left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

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

🚀

@nik9000 nik9000 enabled auto-merge (squash) November 26, 2025 13:10
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Dec 11, 2025

CI is full of angry bees:

Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL: https://services.gradle.org/distributions/gradle-9.2.1-all.zip

@nik9000 nik9000 merged commit c6a09d3 into elastic:main Dec 11, 2025
40 of 42 checks passed
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Dec 11, 2025

Hahaha! I've tamed the beeeees!

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

Labels

:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants