mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Add test for data in square brackets in JSONEachRow.
This commit is contained in:
parent
c5b0b6ba29
commit
75fe61251b
@ -0,0 +1,2 @@
|
||||
1 name1
|
||||
2 name2
|
@ -0,0 +1,6 @@
|
||||
DROP TABLE IF EXISTS json_square_brackets;
|
||||
CREATE TABLE json_square_brackets (id UInt32, name String) ENGINE = Memory;
|
||||
INSERT INTO json_square_brackets FORMAT JSONEachRow [{"id": 1, "name": "name1"}, {"id": 2, "name": "name2"}]
|
||||
|
||||
SELECT * FROM json_square_brackets ORDER BY id;
|
||||
DROP TABLE IF EXISTS json_square_brackets;
|
Loading…
Reference in New Issue
Block a user