Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
dictionary データを ClickHouse のテーブルとして表示します。同様に Dictionary エンジンと同じように動作します。
dictionary('dict')
dict
dictionary_source_table
┌─id─┬─value─┐ │ 0 │ 0 │ │ 1 │ 1 │ └────┴───────┘
CREATE DICTIONARY new_dictionary(id UInt64, value UInt64 DEFAULT 0) PRIMARY KEY id SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() USER 'default' TABLE 'dictionary_source_table')) LAYOUT(DIRECT());
SELECT * FROM dictionary('new_dictionary');
このページは役に立ちましたか?