From b275e06aca70a334babf74412fea6cf728664bca Mon Sep 17 00:00:00 2001 From: Dmitry Novik Date: Thu, 21 Mar 2024 19:02:46 +0100 Subject: [PATCH] Add test for 57820 #ci_set_analyzer --- .../queries/0_stateless/03018_analyzer_greater_null.reference | 1 + tests/queries/0_stateless/03018_analyzer_greater_null.sql | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 tests/queries/0_stateless/03018_analyzer_greater_null.reference create mode 100644 tests/queries/0_stateless/03018_analyzer_greater_null.sql diff --git a/tests/queries/0_stateless/03018_analyzer_greater_null.reference b/tests/queries/0_stateless/03018_analyzer_greater_null.reference new file mode 100644 index 00000000000..1e254619239 --- /dev/null +++ b/tests/queries/0_stateless/03018_analyzer_greater_null.reference @@ -0,0 +1 @@ +\N 0 diff --git a/tests/queries/0_stateless/03018_analyzer_greater_null.sql b/tests/queries/0_stateless/03018_analyzer_greater_null.sql new file mode 100644 index 00000000000..66ea53e451f --- /dev/null +++ b/tests/queries/0_stateless/03018_analyzer_greater_null.sql @@ -0,0 +1,4 @@ +SELECT + max(NULL > 255) > NULL AS a, + count(NULL > 1.) > 1048577 +FROM numbers(10);