ClickHouse/tests/queries/0_stateless/02416_json_object_inference.sql

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

7 lines
429 B
MySQL
Raw Normal View History

2022-08-31 14:11:00 +00:00
-- Tags: no-fasttest
set allow_experimental_object_type=1;
2022-08-31 14:11:00 +00:00
desc format(JSONEachRow, '{"a" : {"b" : {"c" : 1, "d" : "str"}}}');
2023-09-25 21:45:11 +00:00
set allow_experimental_object_type=0, input_format_json_read_objects_as_strings=0, input_format_json_try_infer_named_tuples_from_objects=0, input_format_json_read_numbers_as_strings=0;
2024-01-23 16:17:16 +00:00
desc format(JSONEachRow, '{"a" : {"b" : {"c" : 1, "d" : "str"}}}'); -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}