You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createtabletest (id UInt64, t Tuple(a LowCardinality(String), json JSON)) engine=CoalescingMergeTree order by id settings min_bytes_for_wide_part=1, min_rows_for_wide_part=1, index_granularity=32, merge_max_block_size=32;
4
+
insert into test selectnumber, tuple('str', '{}') from numbers(100);
5
+
altertable test update t = tuple('str', '{"a" : 42}') where id >90;
6
+
optimize table test final;
7
+
select'Dynamic paths';
8
+
select distinct arrayJoin(JSONDynamicPaths(t.json)) from test;
9
+
select'Shared data parhs';
10
+
select distinct arrayJoin(JSONSharedDataPaths(t.json)) from test;
0 commit comments