mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Update 03150_infer_type_variant.sql
Fix failing test
This commit is contained in:
parent
f8e71b8c7f
commit
777e0b313a
@ -1,4 +1,4 @@
|
|||||||
SET input_format_json_infer_variant_from_multi_type_array=1;
|
SET input_format_json_infer_variant_from_multi_type_array=1;
|
||||||
SELECT arr, toTypeName(arr) FROM format('JSONEachRow', '{"arr" : [1, "Hello", {"a" : 32}]}');
|
SELECT arr, toTypeName(arr) FROM format('JSONEachRow', '{"arr" : [1, "Hello", {"a" : 32}]}') FORMAT Pretty;
|
||||||
SELECT x, toTypeName(x) FROM format('JSONEachRow', '{"x" : 42}, {"x" : "Hello"}');
|
SELECT x, toTypeName(x) FROM format('JSONEachRow', '{"x" : 42}, {"x" : "Hello"}') FORMAT Pretty;
|
||||||
SELECT x, toTypeName(x) FROM format('JSONEachRow', '{"x" : [1, 2, 3]}, {"x" : {"a" : 42}}');
|
SELECT x, toTypeName(x) FROM format('JSONEachRow', '{"x" : [1, 2, 3]}, {"x" : {"a" : 42}}') FORMAT Pretty;
|
||||||
|
Loading…
Reference in New Issue
Block a user