Skip to content
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

ESQL: Enforce uniquely named attributes in query plans #110541

Closed
alex-spies opened this issue Jul 5, 2024 · 1 comment · Fixed by #110488
Closed

ESQL: Enforce uniquely named attributes in query plans #110541

alex-spies opened this issue Jul 5, 2024 · 1 comment · Fixed by #110488
Assignees
Labels
:Analytics/ES|QL AKA ESQL >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@alex-spies
Copy link
Contributor

Relates #110490

In contrast to other commands/query plan nodes, ROW a= 1, a = 2 creates 2 attributes with the same name a; this is a problem because one cannot refer to any of the as as there's no way to disambiguate.

Let's fix this and ensure all our query plans consistently handle multiple created attributes with the same name, like EVAL x = 1, x = 2 (or dissect, enrich, ...)

@alex-spies alex-spies self-assigned this Jul 5, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 5, 2024
@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants