-
Notifications
You must be signed in to change notification settings - Fork 1k
test(snowflake): add tests for CASE expression type annotation #6211
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
test(snowflake): add tests for CASE expression type annotation #6211
Conversation
68d3d22 to
78ac69a
Compare
georgesittas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed in Slack– let's ensure this test is included before merging:
-- Should result in an integer type
CASE WHEN score >= 90 THEN 100 ELSE NULL END;
It appears that this is currently annotated as UNKNOWN an we're looking into it.
fix: handle NULL correctly in _maybe_coerce
|
modified _maybe_coerce to coerce NULLs properly. |
No description provided.