Merge pull request #67390 from ClickHouse/fix-test-01036_no_superfluous_dict_reload_on_create_database

Fix bad test `01036_no_superfluous_dict_reload_on_create_database`
This commit is contained in:
Alexey Milovidov 2024-07-30 07:24:52 +00:00 committed by GitHub
commit 1fde5b7bfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View File

@ -139,6 +139,6 @@ SELECT {CLICKHOUSE_DATABASE:String} || '.dict3' as n, dictGet(n, 'some_column',
DROP TABLE {CLICKHOUSE_DATABASE:Identifier}.table_for_dict;
SYSTEM RELOAD DICTIONARIES; -- {serverError UNKNOWN_TABLE}
SYSTEM RELOAD DICTIONARY {CLICKHOUSE_DATABASE:Identifier}.dict3; -- {serverError UNKNOWN_TABLE}
SELECT dictGetString({CLICKHOUSE_DATABASE:String} || '.dict3', 'some_column', toUInt64(12));

View File

@ -1,3 +1,6 @@
-- Tags: no-parallel
-- Does not allow if other tests do SYSTEM RELOAD DICTIONARIES at the same time.
CREATE TABLE dict_data (key UInt64, val UInt64) Engine=Memory();
CREATE DICTIONARY dict
(

File diff suppressed because one or more lines are too long