ClickHouse/tests/queries/0_stateless/01224_no_superfluous_dict_reload.reference
Azat Khuzhin 55a143d1a5 Avoid superfluous dictionaries load (system.tables, SHOW CREATE TABLE)
This patch avoids loading dictionaries for:
- SELECT * FROM system.tables (used by clickhouse-client for completion)
- SHOW CREATE TABLE some_dict

But the dictionary will still be loaded on:
- SHOW CREATE TABLE some_dict (from the database with Dictionary engine)
2020-04-11 13:26:41 +03:00

20 lines
443 B
Plaintext

NOT_LOADED
NOT_LOADED
CREATE DICTIONARY dict_db_01224.dict
(
`key` UInt64 DEFAULT 0,
`val` UInt64 DEFAULT 10
)
PRIMARY KEY key
SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' TABLE 'dict_data' PASSWORD '' DB 'dict_db_01224'))
LIFETIME(MIN 0 MAX 0)
LAYOUT(FLAT())
NOT_LOADED
CREATE TABLE dict_db_01224_dictionary.`dict_db_01224.dict`
(
`key` UInt64,
`val` UInt64
)
ENGINE = Dictionary(`dict_db_01224.dict`)
LOADED