-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Introduce LogicalPlan invariants, begin automatically checking them #13651
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
alamb
merged 20 commits into
apache:main
from
influxdata:13525/invariant-checking-for-implicit-LP-changes
Dec 26, 2024
Merged
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
6d43dc2
minor(13525): perform LP validation before and after each possible mu…
wiedld a855811
minor(13525): validate unique field names on query and subquery schem…
wiedld 0163a40
minor(13525): validate union after each optimizer passes
wiedld bee7e92
refactor: make explicit what is an invariant of the logical plan, ver…
wiedld 4eee9c4
chore: add link to invariant docs
wiedld a7d9770
fix: add new invariants module
wiedld 72718ad
Merge branch 'main' into 13525/invariant-checking-for-implicit-LP-cha…
wiedld 2002b1a
refactor: move all LP invariant checking into LP, delineate executabl…
wiedld fbc9c46
test: update test for slight error message change
wiedld e52187e
fix: push_down_filter optimization pass can push a IN(<subquery>) int…
wiedld ba26f13
Merge branch 'main' into 13525/invariant-checking-for-implicit-LP-cha…
wiedld ad1a1f8
refactor: move collect_subquery_cols() to common utils crate
wiedld 1164a7b
refactor: clarify the purpose of assert_valid_optimization(), runs af…
wiedld 7ad0b74
refactor: based upon performance tests, run the maximum number of che…
wiedld 911d4b8
chore: update error naming and terminology used in code comments
wiedld 810246d
refactor: use proper error methods
wiedld 9842d19
chore: more cleanup of error messages
wiedld 00700ae
Merge branch 'main' into 13525/invariant-checking-for-implicit-LP-cha…
wiedld 9bca470
chore: handle option trailer to error message
wiedld 529ac3e
test: update sqllogictests tests to not use multiline
wiedld 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.