-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add duplication checks #550
Merged
Merged
Conversation
This file contains 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
63c29f3
to
e165c55
Compare
e165c55
to
8b0b00c
Compare
f90083b
to
ddb9093
Compare
64dc616
to
6ac2ab3
Compare
dd047ab
to
013ce99
Compare
013ce99
to
cbb2802
Compare
inducer
reviewed
Feb 17, 2025
inducer
reviewed
Feb 17, 2025
inducer
reviewed
Feb 17, 2025
dc619b2
to
cbd9a62
Compare
465c306
to
99b6e56
Compare
111fcd4
to
89efacb
Compare
@inducer This one should be good to go now. |
…sformMapperWithExtraArgs fix doc change terminology from 'no-op duplication' to 'mapper-created duplicate' reword explanation of predecessor check in duplication check
89efacb
to
6351b3a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds two checks to
CachedMapper
-derived mapper class traversals:err_on_collision
inCachedMapper
, which checks for multiple distinct instances of input expressions that have the same key. These are duplicates in the incoming DAG.err_on_created_duplicate
inTransformMapper
/TransformMapperWithExtraArgs
, which checks for mappings between two distinct expression instances where both the input and the output have the same key. These are duplicates that are produced by the mapper (e.g., the currentCopyMapper.map_*
implementations that create new instances even if nothing has changed).Depends on
#531(merged),#549(merged),#585(merged), and#583(merged).