mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fix test
This commit is contained in:
parent
85d214d560
commit
47ad4200c9
@ -5,7 +5,7 @@ CREATE TABLE bool_test (value Bool,f String) ENGINE = Memory;
|
|||||||
-- value column shoud have type 'Bool'
|
-- value column shoud have type 'Bool'
|
||||||
SHOW CREATE TABLE bool_test;
|
SHOW CREATE TABLE bool_test;
|
||||||
|
|
||||||
INSERT INTO bool_test (value,f) VALUES ('false', 'test'), ('true' , 'test'), (0, 'test'), (1, 'test'), ('FALSE', 'test'), ('TRUE', 'test');
|
INSERT INTO bool_test (value,f) VALUES (false, 'test'), (true , 'test'), (0, 'test'), (1, 'test'), (FALSE, 'test'), (TRUE, 'test');
|
||||||
INSERT INTO bool_test (value,f) FORMAT JSONEachRow {"value":false,"f":"test"}{"value":true,"f":"test"}{"value":0,"f":"test"}{"value":1,"f":"test"}
|
INSERT INTO bool_test (value,f) FORMAT JSONEachRow {"value":false,"f":"test"}{"value":true,"f":"test"}{"value":0,"f":"test"}{"value":1,"f":"test"}
|
||||||
|
|
||||||
SELECT value,f FROM bool_test;
|
SELECT value,f FROM bool_test;
|
||||||
|
Loading…
Reference in New Issue
Block a user