From de06fd0051529647c0a26a3af55d75d3fe186593 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 22 Jun 2020 19:24:43 +0300 Subject: [PATCH] Update tests. --- tests/queries/0_stateless/01055_prewhere_bugs.reference | 1 + tests/queries/0_stateless/01055_prewhere_bugs.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/queries/0_stateless/01055_prewhere_bugs.reference b/tests/queries/0_stateless/01055_prewhere_bugs.reference index cd0e6a397a1..19de4641cd6 100644 --- a/tests/queries/0_stateless/01055_prewhere_bugs.reference +++ b/tests/queries/0_stateless/01055_prewhere_bugs.reference @@ -1,2 +1,3 @@ 43 1 + Nullable(UInt8) Nullable(Int32) diff --git a/tests/queries/0_stateless/01055_prewhere_bugs.sql b/tests/queries/0_stateless/01055_prewhere_bugs.sql index d9a0256ce52..3929356ce55 100644 --- a/tests/queries/0_stateless/01055_prewhere_bugs.sql +++ b/tests/queries/0_stateless/01055_prewhere_bugs.sql @@ -12,6 +12,7 @@ CREATE TABLE test_prewhere_column_type (`a` LowCardinality(String), `x` Nullable INSERT INTO test_prewhere_column_type VALUES ('', 2); SELECT a, y FROM test_prewhere_column_type prewhere (x = 2) AS y; +SELECT a, toTypeName(x = 2), toTypeName(x) FROM test_prewhere_column_type where (x = 2) AS y; DROP TABLE test_prewhere_default_column; DROP TABLE test_prewhere_column_type;