-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ESQL: Fix wrong attribute shadowing in pushdown rules #105650
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
elasticsearchmachine
merged 24 commits into
elastic:main
from
alex-spies:fix-pushdownregexeval-shadowing
Feb 26, 2024
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
cdf6059
Add reproducing csv tests
alex-spies 71ccfc3
Fix shadowing when pushing down eval/regex/enrich
alex-spies 0cea3f7
Add tests
alex-spies 7f7a91c
Re-enable+fix dependency check
alex-spies 726fee1
Cleanup
alex-spies e00db6f
Update skip labels for tests
alex-spies abdeee3
Generalize unit test to DISSECT, GROK and ENRICH
alex-spies 1cbc32d
WIP csv tests
alex-spies 65d05f3
Merge remote-tracking branch 'upstream/main' into fix-pushdownregexev…
alex-spies 33e3d1b
Add more csv tests
alex-spies d61e0cd
Use nameId in temp name for renamed attributes
alex-spies b33f667
Update LogicalPlan in test javadoc
alex-spies 7c2fbdb
Merge remote-tracking branch 'upstream/main' into fix-pushdownregexev…
alex-spies 1d88d42
Add test case without KEEP at the end
alex-spies a948b88
Fix typo
alex-spies a616e9d
Remove NameId.toLong
alex-spies 5f2fe3a
Factor 3 PushDown rules into single helper
alex-spies 2e67337
Add csv test for shadowing by chained evaluations
alex-spies 382bb57
Preserve Source, use computeIfAbsent
alex-spies 6db2cf2
Some more cleanup
alex-spies ce864c3
Disable logical DEPENDENCY_CHECK again
alex-spies 278c0d4
Spotless
alex-spies 04fb597
Update docs/changelog/105650.yaml
alex-spies 5dc8163
Merge remote-tracking branch 'upstream/main' into fix-pushdownregexev…
alex-spies File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| pr: 105650 | ||
| summary: "ESQL: Fix wrong attribute shadowing in pushdown rules" | ||
| area: ES|QL | ||
| type: bug | ||
| issues: | ||
| - 105434 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should backport this bugfix to 8.13, so I'm setting the skip labels accordingly.