2010YOUY01 commented on code in PR #11553:
URL: https://github.com/apache/datafusion/pull/11553#discussion_r1685331599


##########
datafusion/sqllogictest/test_files/case.slt:
##########
@@ -50,3 +50,19 @@ SELECT CASE WHEN a > 2 THEN b END FROM foo
 NULL
 4
 6
+
+# scalar or scalar (string)
+query T
+SELECT CASE WHEN a > 2 THEN 'even' ELSE 'odd' END FROM foo

Review Comment:
   Looks like `NULL` handling in this specialized implementation is not tested, 
we can add a (NULL, NULL) row into foo table



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to