ClickHouse/tests/queries/0_stateless/00462_json_true_false_literals.sql

9 lines
317 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: no-fasttest
DROP TABLE IF EXISTS json;
CREATE TABLE json (x UInt8, title String) ENGINE = Memory;
INSERT INTO json FORMAT JSONEachRow {"x": true, "title": "true"}, {"x": false, "title": "false"}, {"x": 0, "title": "0"}, {"x": 1, "title": "1"};
SELECT * FROM json ORDER BY title;
DROP TABLE IF EXISTS json;