mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fixed test #797
This commit is contained in:
parent
f66d2fb780
commit
4c2adf1f30
@ -1,4 +1,4 @@
|
||||
2067-01-12 100 key \N
|
||||
2067-01-12 100 key 100500
|
||||
2067-01-12 100 key \N
|
||||
2067-01-12 100 key 100500
|
||||
2000-01-01 100 key \N
|
||||
2000-01-01 100 key 100500
|
||||
2000-01-01 100 key \N
|
||||
2000-01-01 100 key 100500
|
||||
|
@ -9,12 +9,12 @@ CREATE TABLE test
|
||||
data Nullable(Int8)
|
||||
) ENGINE = MergeTree(dt, (id, key, dt), 8192);
|
||||
|
||||
INSERT INTO test (dt,id, key,data) VALUES (now(), 100, 'key', 100500);
|
||||
INSERT INTO test (dt,id, key,data) VALUES ('2000-01-01', 100, 'key', 100500);
|
||||
|
||||
alter table test drop column data;
|
||||
alter table test add column data Nullable(Float64);
|
||||
|
||||
INSERT INTO test (dt,id, key,data) VALUES (now(), 100, 'key', 100500);
|
||||
INSERT INTO test (dt,id, key,data) VALUES ('2000-01-01', 100, 'key', 100500);
|
||||
|
||||
SELECT * FROM test ORDER BY data NULLS FIRST;
|
||||
OPTIMIZE TABLE test;
|
||||
|
Loading…
Reference in New Issue
Block a user