Fixed tests

This commit is contained in:
stavrolia 2019-05-29 19:37:55 +03:00
parent 605de8c36c
commit 94e448a65b
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
drop table if exists lc_00688;
create table lc_00688 (str StringWithDictionary, val UInt8WithDictionary) engine = MergeTree order by tuple();
insert into lc_00688 values ('a', 1), ('b', 2);

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
SELECT CAST(NULL, 'LowCardinality(Nullable(Int8))');
drop table if exists lc_null_int8_defnull;

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
drop table if exists lc_str_0;
drop table if exists lc_str_1;
drop table if exists lc_null_str_0;

View File

@ -1,4 +1,4 @@
SET allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
DROP TABLE IF EXISTS test.test_low_null_float;
DROP TABLE IF EXISTS test.dist;

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
drop table if exists tab_00718;
create table tab_00718 (a String, b LowCardinality(UInt32)) engine = MergeTree order by a;
insert into tab_00718 values ('a', 1);

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
drop table if exists low_null_float;
CREATE TABLE low_null_float (a LowCardinality(Nullable(Float64))) ENGINE = MergeTree order by tuple();
INSERT INTO low_null_float (a) SELECT if(number % 3 == 0, Null, number) FROM system.numbers LIMIT 1000000;

View File

@ -1,4 +1,4 @@
set allow_suspicious_low_cardinality_types = true;
set allow_suspicious_low_cardinality_types = 1;
drop table if exists lc_00800_2;
create table lc_00800_2 (val LowCardinality(UInt64)) engine = MergeTree order by val;
insert into lc_00800_2 select number % 123 from system.numbers limit 100000;