ClickHouse/tests/queries/0_stateless/03227_dynamic_subcolumns_enumerate_streams.sql
2024-08-19 22:00:35 +00:00

10 lines
305 B
SQL

set allow_experimental_json_type=1;
drop table if exists test;
create table test (json JSON) engine=Memory;
insert into test select toJSONString(map('a', 'str_' || number)) from numbers(5);
select json.a.String from test;
select json.a.:String from test;
select json.a.UInt64 from test;
drop table test;