diff --git a/tests/queries/0_stateless/01650_any_null_if.reference b/tests/queries/0_stateless/01650_any_null_if.reference new file mode 100644 index 00000000000..e965047ad7c --- /dev/null +++ b/tests/queries/0_stateless/01650_any_null_if.reference @@ -0,0 +1 @@ +Hello diff --git a/tests/queries/0_stateless/01650_any_null_if.sql b/tests/queries/0_stateless/01650_any_null_if.sql new file mode 100644 index 00000000000..487a42cf578 --- /dev/null +++ b/tests/queries/0_stateless/01650_any_null_if.sql @@ -0,0 +1 @@ +SELECT any(nullIf(s, '')) FROM (SELECT arrayJoin(['', 'Hello']) AS s);