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

Propagate allowOptimizedExpansion to CASE results #34304

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

ranma42
Copy link
Contributor

@ranma42 ranma42 commented Jul 28, 2024

If the CASE is used in a context that allows optimizations (predicates, where
NULL and FALSE are equivalent), the same holds for each of its results.

Contributes to #16050

ranma42 added 2 commits July 28, 2024 11:17
If the `CASE` is used in a context that allows optimizations (predicates, where
NULL and FALSE are equivalent), the same holds for each of its results.
@ranma42
Copy link
Contributor Author

ranma42 commented Jul 28, 2024

Found while investigating the test changes in #34172 😇

@maumar maumar merged commit ac1b366 into dotnet:main Jul 29, 2024
7 checks passed
@maumar
Copy link
Contributor

maumar commented Jul 29, 2024

very nice improvement, thanks again @ranma42 !

@ranma42 ranma42 deleted the optimize-case-then branch July 29, 2024 19:08
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.

2 participants