Skip to content

ESQL: Fix mv_expand inconsistent column order #129745

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kanoshiou
Copy link
Contributor

@kanoshiou kanoshiou commented Jun 20, 2025

The new attribute generated by mv_expand should remain in the original field positions. However, when ProjectAwayColumns is executed top-down and encounters an MvExpandExec with the child plan of ExchangeExec, the inserted Project may not respect that order.

Closes #129000

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor Pull request authored by a developer outside the Elasticsearch team needs:triage Requires assignment of a team area label v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ES|QL: inconsistent column order
2 participants