xuzifu666 commented on code in PR #5380: URL: https://github.com/apache/calcite/pull/5380#discussion_r4431599555
########## core/src/test/resources/sql/cast.iq: ########## @@ -2241,4 +2241,32 @@ WHERE empno = 7369; !ok +# Test case for [CALCITE-6091] CASE WHEN with ARRAY/MAP types and NULL ELSE +# branch should not truncate element type +!use scott + +SELECT CASE WHEN true THEN ARRAY['abc'] WHEN false THEN ARRAY['d'] ELSE null END AS c; Review Comment: These sql programs had been validate in postgresql: https://onecompiler.com/postgresql/457t5962g -- 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]
