This commit is contained in:
Alexey Milovidov 2018-04-05 23:43:35 +03:00
parent 32f6adc5ed
commit da7975dc29
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +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

View File

@ -16,5 +16,8 @@ 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 (now(), 100, 'key', 100500);
SELECT * FROM test ORDER BY data NULLS FIRST;
OPTIMIZE TABLE test; OPTIMIZE TABLE test;
SELECT * FROM test ORDER BY data NULLS FIRST;
DROP TABLE test; DROP TABLE test;