Reputation: 197
I am trying to create a dictionary with a direct layout in Clickhouse, it sends me the following error when I try to do so:
Code: 137. DB::Exception: Received from clickhouse-server:9000. DB::Exception: Unknown dictionary layout type: direct.
My query looks like this:
CREATE DICTIONARY IF NOT EXISTS default.dict
(
-- attributes here
)
PRIMARY KEY `ID`
SOURCE(CLICKHOUSE(
host 'localhost'
port 9000
user 'default'
password ''
db 'default'
table 'default.test1'
))
LAYOUT(DIRECT())
LIFETIME(300)
Do you know where it comes from?
Upvotes: 0
Views: 239
Reputation: 13310
It's not released yet. Try the last testing https://repo.yandex.ru/clickhouse/deb/testing/main/
Upvotes: 1