Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Nov 24, 2025

Only push functions into field loads from primary indices. LOOKUP will need an entirely different infrastructure for pushing functions into field loads.

Relates to #137679

Only push functions into field loads from primary indices. LOOKUP
will need an entirely different infrastructure for pushing functions
into field loads.

Relates to elastic#137679
@nik9000 nik9000 requested a review from carlosdelest November 24, 2025 21:22
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Map<Attribute.IdIgnoringWrapper, Attribute> addedAttrs = new HashMap<>();
return plan.transformDown(LogicalPlan.class, p -> doRule(p, context, addedAttrs));
Rule rule = new Rule(context, plan);
return plan.transformDown(LogicalPlan.class, rule::doRule);
Copy link
Member Author

Choose a reason for hiding this comment

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

We need more state for this rule so I made each run of it an object.

Copy link
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.

LGTM 👍

Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
Copy link
Member Author

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

Thanks @carlosdelest !

@nik9000 nik9000 enabled auto-merge (squash) November 25, 2025 13:11
@nik9000 nik9000 merged commit e6a89ed into elastic:main Nov 25, 2025
34 checks passed
ncordon pushed a commit to ncordon/elasticsearch that referenced this pull request Nov 26, 2025
Only push functions into field loads from primary indices. LOOKUP
will need an entirely different infrastructure for pushing functions
into field loads.

Relates to elastic#137679

Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
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.

3 participants