mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Fixed tests
This commit is contained in:
parent
605de8c36c
commit
94e448a65b
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user