Update tests.

This commit is contained in:
Nikolai Kochetov 2020-06-22 19:24:43 +03:00
parent ae21aca3a3
commit de06fd0051
2 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,3 @@
43 43
1 1
Nullable(UInt8) Nullable(Int32)

View File

@ -12,6 +12,7 @@ CREATE TABLE test_prewhere_column_type (`a` LowCardinality(String), `x` Nullable
INSERT INTO test_prewhere_column_type VALUES ('', 2); INSERT INTO test_prewhere_column_type VALUES ('', 2);
SELECT a, y FROM test_prewhere_column_type prewhere (x = 2) AS y; 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_default_column;
DROP TABLE test_prewhere_column_type; DROP TABLE test_prewhere_column_type;