rubenada commented on code in PR #3258:
URL: https://github.com/apache/calcite/pull/3258#discussion_r1232386429
##########
core/src/test/resources/sql/functions.iq:
##########
@@ -499,6 +510,120 @@ select CONVERT(DATE, '05/01/2000', 103);
!ok
!}
+# [CALCITE-5771] Apply two different NULL semantics for CONCAT
function(enabled in MySQL, Postgresql, BigQuery and MSSQL)
+select concat(null);
++--------+
+| EXPR$0 |
++--------+
+| |
++--------+
+(1 row)
+
+!ok
+
+select concat(null, '');
++--------+
+| EXPR$0 |
++--------+
+| |
++--------+
+(1 row)
+
+!ok
+
+select concat('', '');
++--------+
+| EXPR$0 |
++--------+
+| |
Review Comment:
What if we do something like:
```
select v, v is null from (select concat(null, '') as v);
```
On the "ambiguous" tests? (so that we have a second column with true/false
to break the ambiguity)
--
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]