mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Merge pull request #53246 from ClickHouse/fix-02428_delete_with_settings
Fix test `02428_delete_with_settings`
This commit is contained in:
commit
ede2dc5deb
@ -36,7 +36,9 @@ create temporary table known_short_messages (s String) as select * from (select
|
||||
'Database {} does not exist', 'Dictionary ({}) not found', 'Unknown table function {}',
|
||||
'Unknown format {}', 'Unknown explain kind ''{}''', 'Unknown setting {}', 'Unknown input format {}',
|
||||
'Unknown identifier: ''{}''', 'User name is empty', 'Expected function, got: {}',
|
||||
'Attempt to read after eof', 'String size is too big ({}), maximum: {}', 'API mode: {}'
|
||||
'Attempt to read after eof', 'String size is too big ({}), maximum: {}', 'API mode: {}',
|
||||
'Processed: {}%', 'Creating {}: {}', 'Table {}.{} doesn''t exist', 'Invalid cache key hex: {}',
|
||||
'User has been dropped', 'Illegal type {} of argument of function {}. Should be DateTime or DateTime64'
|
||||
] as arr) array join arr;
|
||||
|
||||
-- Check that we don't have too many short meaningless message patterns.
|
||||
|
@ -1,5 +1,5 @@
|
||||
drop table if exists test;
|
||||
create table test (id Int32, key String) engine=MergeTree() order by tuple();
|
||||
create table test (id Int32, key String) engine=MergeTree() order by tuple() settings index_granularity = 8192, index_granularity_bytes = '10Mi';
|
||||
insert into test select number, toString(number) from numbers(1000000);
|
||||
delete from test where id % 2 = 0 SETTINGS mutations_sync=0;
|
||||
select count() from test;
|
||||
|
Loading…
Reference in New Issue
Block a user