ClickHouse/tests/queries/0_stateless/01486_json_array_output.sql

5 lines
209 B
MySQL
Raw Normal View History

2020-11-17 19:51:45 +00:00
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;