ClickHouse/tests/queries/0_stateless/02422_read_numbers_as_strings.sql
2022-09-15 18:20:17 +00:00

8 lines
279 B
SQL

-- Tags: no-fasttest
set input_format_json_read_numbers_as_strings=1;
select * from format(JSONEachRow, '{"x" : 123}\n{"x" : "str"}');
select * from format(JSONEachRow, '{"x" : [123, "str"]}');
select * from format(JSONEachRow, '{"x" : [123, "456"]}\n{"x" : ["str", "rts"]}');