mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
test
This commit is contained in:
parent
8cde88440b
commit
51f9d54d10
11
tests/queries/0_stateless/01486_json_array_output.reference
Normal file
11
tests/queries/0_stateless/01486_json_array_output.reference
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{"a":"0","b":"0"},
|
||||
{"a":"1","b":"2"},
|
||||
{"a":"2","b":"4"}
|
||||
]
|
||||
[
|
||||
{"number":"0"}
|
||||
]
|
||||
[
|
||||
|
||||
]
|
4
tests/queries/0_stateless/01486_json_array_output.sql
Normal file
4
tests/queries/0_stateless/01486_json_array_output.sql
Normal file
@ -0,0 +1,4 @@
|
||||
set output_format_json_array_of_rows = 1;
|
||||
select number a, number * 2 b from numbers(3) format JSONEachRow;
|
||||
select * from numbers(1) format JSONEachRow;
|
||||
select * from numbers(1) where null format JSONEachRow;
|
Loading…
Reference in New Issue
Block a user