mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +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 }
|