Skip to content

Conversation

@mattnibs
Copy link
Collaborator

@mattnibs mattnibs commented Dec 31, 2025

This commit fixes an issue with parsing case expressions when the case expression is inside parentheses. This is fixed by placing CaseExpr before Function in the expression parsing chain.

Fixes #6478

This commit fixes an issue with parsing case expressions when the case
expressions inside parenthesis. This is fixed by placing CaseExpr before
Function in the expression parsing chain.

Fixes #6478
@philrz philrz requested a review from a team December 31, 2025 16:43
@nwt nwt changed the title Fix parsing case expressions with parenthesis Fix parsing case expressions with parentheses Dec 31, 2025
@philrz philrz merged commit 5ea0cb5 into main Dec 31, 2025
2 checks passed
@philrz philrz deleted the func-when-guard branch December 31, 2025 18:58
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.

SQL: Parenthesized expressions as the comparison value in a CASE statement

4 participants