Skip to content

[8.x] ESQL: Enable physical plan verification (#118114,#118534) #118302

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 2 commits into from
Dec 12, 2024

Conversation

bpintea
Copy link
Contributor

@bpintea bpintea commented Dec 9, 2024

Backports the following commits to 8.x:

This enables the physical plan verification. For it, a couple of changes
needed to be applied/corrected: * AggregateMapper creates attributes
with unique names; * AggregateExec's verification needs not consider
ordinal attribute(s); * LookupJoinExec needs to merge attributes of same
name at output, "winning" the right child; * ExchangeExec does no input
referencing, since it only outputs all synthetic attributes, "sourced"
from remote exchanges; * FieldExtractExec doesn't reference the
attributes it "produces".
@bpintea bpintea added :Analytics/ES|QL AKA ESQL >enhancement 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 Dec 9, 2024
This disables verifying the plans generated for remote ENRICHing.
It also re-enables corresponding failing test.

Related: elastic#118531
Fixes elastic#118307.

(cherry picked from commit e7a4436)
@bpintea bpintea changed the title [8.x] ESQL: Enable physical plan verification (#118114) [8.x] ESQL: Enable physical plan verification (#118114,#118534) Dec 12, 2024
@elasticsearchmachine elasticsearchmachine merged commit 159ecaf into elastic:8.x Dec 12, 2024
15 checks passed
@bpintea bpintea deleted the backport/8.x/pr-118114 branch December 12, 2024 15:22
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…#118534) (elastic#118302)

* ESQL: Enable physical plan verification (elastic#118114)

This enables the physical plan verification. For it, a couple of changes
needed to be applied/corrected: * AggregateMapper creates attributes
with unique names; * AggregateExec's verification needs not consider
ordinal attribute(s); * LookupJoinExec needs to merge attributes of same
name at output, "winning" the right child; * ExchangeExec does no input
referencing, since it only outputs all synthetic attributes, "sourced"
from remote exchanges; * FieldExtractExec doesn't reference the
attributes it "produces".

* ESQL: Disable remote enrich verification (elastic#118534)

This disables verifying the plans generated for remote ENRICHing.
It also re-enables corresponding failing test.

Related: elastic#118531
Fixes elastic#118307.

(cherry picked from commit e7a4436)
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…#118534) (elastic#118302)

* ESQL: Enable physical plan verification (elastic#118114)

This enables the physical plan verification. For it, a couple of changes
needed to be applied/corrected: * AggregateMapper creates attributes
with unique names; * AggregateExec's verification needs not consider
ordinal attribute(s); * LookupJoinExec needs to merge attributes of same
name at output, "winning" the right child; * ExchangeExec does no input
referencing, since it only outputs all synthetic attributes, "sourced"
from remote exchanges; * FieldExtractExec doesn't reference the
attributes it "produces".

* ESQL: Disable remote enrich verification (elastic#118534)

This disables verifying the plans generated for remote ENRICHing.
It also re-enables corresponding failing test.

Related: elastic#118531
Fixes elastic#118307.

(cherry picked from commit e7a4436)
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 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants