mirror of
https://github.com/netsampler/goflow2.git
synced 2024-05-06 15:54:52 +00:00
Fixing clickhouse startup after restart
This commit is contained in:
@ -3,9 +3,9 @@ set -e
|
||||
|
||||
clickhouse client -n <<-EOSQL
|
||||
|
||||
CREATE DATABASE dictionaries;
|
||||
CREATE DATABASE IF NOT EXISTS dictionaries;
|
||||
|
||||
CREATE DICTIONARY dictionaries.protocols (
|
||||
CREATE DICTIONARY IF NOT EXISTS dictionaries.protocols (
|
||||
proto UInt8,
|
||||
name String,
|
||||
description String
|
||||
@ -122,4 +122,4 @@ clickhouse client -n <<-EOSQL
|
||||
FROM flows_raw
|
||||
GROUP BY Date, Timeslot, SrcAS, DstAS, \`ETypeMap.EType\`;
|
||||
|
||||
EOSQL
|
||||
EOSQL
|
||||
|
Reference in New Issue
Block a user