ClickHouse/tests/queries/0_stateless/02422_read_numbers_as_strings.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
279 B
MySQL
Raw Normal View History

2022-09-09 15:01:45 +00:00
-- Tags: no-fasttest
2022-09-15 18:20:17 +00:00
set input_format_json_read_numbers_as_strings=1;
2022-09-08 16:07:20 +00:00
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"]}');
2022-09-09 15:01:45 +00:00