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
Copy file name to clipboardExpand all lines: tests/queries/0_stateless/03040_dynamic_type_alters_2_wide_merge_tree.sql
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ insert into test select number, number, number from numbers(3, 3);
18
18
insert into test selectnumber, number, 'str_'|| toString(number) from numbers(6, 3);
19
19
insert into test selectnumber, number, NULLfrom numbers(9, 3);
20
20
insert into test selectnumber, number, multiIf(number % 3==0, number, number % 3==1, 'str_'|| toString(number), NULL) from numbers(12, 3);
21
+
optimize table test final;
21
22
selectcount(), dynamicType(d) from test group by dynamicType(d) order bycount(), dynamicType(d);
22
23
select x, y, d, d.String, d.UInt64, d.Date, d.`Tuple(a UInt64)`.a from test order by x;
23
24
@@ -28,6 +29,7 @@ select x, y, d1, d1.String, d1.UInt64, d1.Date, d1.`Tuple(a UInt64)`.a from test
28
29
29
30
select'insert nested dynamic';
30
31
insert into test selectnumber, number, [number % 2 ? number : 'str_'|| toString(number)]::Array(Dynamic) from numbers(15, 3);
32
+
optimize table test final;
31
33
selectcount(), dynamicType(d1) from test group by dynamicType(d1) order bycount(), dynamicType(d1);
32
34
select x, y, d1, d1.String, d1.UInt64, d1.Date, d1.`Tuple(a UInt64)`.a, d1.`Array(Dynamic)`.UInt64, d1.`Array(Dynamic)`.String, d1.`Array(Dynamic)`.Datefrom test order by x;
0 commit comments