mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
20 lines
565 B
Plaintext
20 lines
565 B
Plaintext
=DICTIONARY in Ordinary DB
|
|
CREATE DICTIONARY ordinary_db.dict1 (`key_column` UInt64 DEFAULT 0, `second_column` UInt8 DEFAULT 1, `third_column` String DEFAULT \'qqq\') PRIMARY KEY key_column SOURCE(CLICKHOUSE(HOST \'localhost\' PORT 9000 USER \'default\' TABLE \'table_for_dict\' PASSWORD \'\' DB \'database_for_dict\')) LIFETIME(MIN 1 MAX 10) LAYOUT(FLAT())
|
|
dict1
|
|
1
|
|
ordinary_db dict1
|
|
==DETACH DICTIONARY
|
|
0
|
|
==ATTACH DICTIONARY
|
|
dict1
|
|
1
|
|
ordinary_db dict1
|
|
==DROP DICTIONARY
|
|
0
|
|
=DICTIONARY in Memory DB
|
|
0
|
|
=DICTIONARY in Lazy DB
|
|
=DROP DATABASE WITH DICTIONARY
|
|
dict4
|
|
dict4
|