mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Backport #70453 to 24.8: Fix order in 03249_dynamic_alter_consistency
This commit is contained in:
parent
185337a8e2
commit
8205842c39
@ -1,2 +1,2 @@
|
|||||||
600000 UInt64 false
|
|
||||||
400000 String true
|
400000 String true
|
||||||
|
600000 UInt64 false
|
||||||
|
@ -4,6 +4,6 @@ drop table if exists test;
|
|||||||
create table test (d Dynamic) engine=MergeTree order by tuple() settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;
|
create table test (d Dynamic) engine=MergeTree order by tuple() settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;
|
||||||
insert into test select number < 600000 ? number::Dynamic : ('str_' || number)::Dynamic from numbers(1000000);
|
insert into test select number < 600000 ? number::Dynamic : ('str_' || number)::Dynamic from numbers(1000000);
|
||||||
alter table test modify column d Dynamic(max_types=1);
|
alter table test modify column d Dynamic(max_types=1);
|
||||||
select count(), dynamicType(d), isDynamicElementInSharedData(d) from test group by dynamicType(d), isDynamicElementInSharedData(d);
|
select count(), dynamicType(d), isDynamicElementInSharedData(d) from test group by dynamicType(d), isDynamicElementInSharedData(d) order by count();
|
||||||
drop table test;
|
drop table test;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user