mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
10 lines
216 B
MySQL
10 lines
216 B
MySQL
|
CREATE DICTIONARY testip
|
||
|
(
|
||
|
`network` String,
|
||
|
`test_field` String
|
||
|
)
|
||
|
PRIMARY KEY network
|
||
|
SOURCE(FILE(PATH '/tmp/test.csv' FORMAT CSVWithNames))
|
||
|
LIFETIME(MIN 0 MAX 300)
|
||
|
LAYOUT(IPTRIE()); -- { serverError 137 }
|