提交 0e77575a 编写于 作者: A Alexey Milovidov

JSONEachRow: allow to parse true and false as 1 and 0 for UInt8, Int8 data types [#CLICKHOUSE-3]

上级 c323d7bf
DROP TABLE IF EXISTS test.json;
CREATE TABLE test.json (x UInt8, title String) ENGINE = Memory;
INSERT INTO test.json FORMAT JSONEachRow {"x": true, "title": "true"}, {"x": false, "title": "false"}, {"x": 0, "title": "0"}, {"x": 1, "title": "1"}
SELECT * FROM test.json ORDER BY title;
DROP TABLE IF EXISTS test.json;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册