From a5e14e94422961cf87f3f2c447f2996809bc8f65 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 12 Jan 2021 22:53:58 +0300 Subject: [PATCH] Add a test --- tests/queries/0_stateless/01650_any_null_if.reference | 1 + tests/queries/0_stateless/01650_any_null_if.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/queries/0_stateless/01650_any_null_if.reference create mode 100644 tests/queries/0_stateless/01650_any_null_if.sql 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);