mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +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 }
|