Skip to content

[8.x] ESQL: introduce a pre-mapping logical plan processing step (#121260)#121382

Merged
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
bpintea:port/8.x_121260
Jan 31, 2025
Merged

[8.x] ESQL: introduce a pre-mapping logical plan processing step (#121260)#121382
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
bpintea:port/8.x_121260

Conversation

@bpintea
Copy link
Copy Markdown
Contributor

@bpintea bpintea commented Jan 31, 2025

This adds a pre-mapping logical plan processing step, occurring after the logical optimisation, but before mapping it to a physical plan. This step can perform async actions, if needed, and involves using a new TransportActionServices record with all available services.

Furthermore, the query rewriting step part of the FullTextFunctions planning (occurring on the coordinator only) is refactored a bit to update the queries in-place. The verification done by Match and Term involving checking on the argument type is also now pulled back from post-optimisation to post-analysis. Their respective tests are moved accordingly as well.

(cherry picked from commit 0393e56)

…21260)

This adds a pre-mapping logical plan processing step, occurring after the logical optimisation, but before mapping it to a physical plan. This step can perform async actions, if needed, and involves using a new `TransportActionServices` record with all available services.

Furthermore, the query rewriting step part of the `FullTextFunction`s planning (occurring on the coordinator only) is refactored a bit to update the queries in-place.
The verification done by `Match` and `Term` involving checking on the argument type is also now pulled back from post-optimisation to post-analysis. Their respective tests are moved accordingly as well.

(cherry picked from commit 0393e56)
@bpintea bpintea added >enhancement backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v8.19.0 labels Jan 31, 2025
@elasticsearchmachine elasticsearchmachine merged commit f1ac221 into elastic:8.x Jan 31, 2025
@bpintea bpintea deleted the port/8.x_121260 branch January 31, 2025 13:49
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 >enhancement v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants