mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
Fix test
This commit is contained in:
parent
459612c895
commit
55d2627a27
@ -1,9 +1,9 @@
|
||||
WORLD
|
||||
HELLO
|
||||
WORLD
|
||||
|
||||
WORLD
|
||||
HELLO
|
||||
WORLD
|
||||
WORLD
|
||||
|
||||
HELLO PEOPLE
|
||||
WORLD PEOPLE
|
||||
|
@ -2,14 +2,14 @@ DROP TABLE IF EXISTS test_null_as_default;
|
||||
CREATE TABLE test_null_as_default (s String DEFAULT 'WORLD') ENGINE = Memory;
|
||||
|
||||
INSERT INTO test_null_as_default SELECT 'HELLO' UNION ALL SELECT NULL;
|
||||
SELECT * FROM test_null_as_default;
|
||||
SELECT * FROM test_null_as_default ORDER BY s;
|
||||
SELECT '';
|
||||
|
||||
INSERT INTO test_null_as_default SELECT NULL;
|
||||
SELECT * FROM test_null_as_default;
|
||||
SELECT * FROM test_null_as_default ORDER BY s;
|
||||
SELECT '';
|
||||
|
||||
REPLACE TABLE test_null_as_default (s String DEFAULT 'WORLD', ss String DEFAULT 'PEOPLE') ENGINE = Memory;
|
||||
|
||||
INSERT INTO test_null_as_default(s) SELECT 'HELLO' UNION ALL SELECT NULL;
|
||||
SELECT * FROM test_null_as_default;
|
||||
SELECT * FROM test_null_as_default ORDER BY s;
|
||||
|
Loading…
Reference in New Issue
Block a user