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

Optimize away DISTINCT inside IN/EXISTS/set operations #34381

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

ranma42
Copy link
Contributor

@ranma42 ranma42 commented Aug 7, 2024

This PR optimizes away DISTINCT when immediately inside IN/EXISTS/set operations.

Fixes #31016.

@ranma42 ranma42 marked this pull request as draft August 7, 2024 22:52
@roji
Copy link
Member

roji commented Aug 8, 2024

This looks good to me @ranma42 - any issues or further work that prevents merging (remember the feature work deadline is approaching very fast)

@ranma42
Copy link
Contributor Author

ranma42 commented Aug 8, 2024

I just need to fix the cosmos tests 😇 (well, I will probably mark them as expected failures, just like the similar cases 😈 )
will do that ASAP

@ranma42 ranma42 marked this pull request as ready for review August 8, 2024 17:48
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ranma42!

@roji roji merged commit 915245c into dotnet:main Aug 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove DISTINCT inside IN/EXISTS/set operations
2 participants