diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-21 19:21:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-21 19:21:05 +0100 |
commit | 2143d4b1460fc275cef551e69b93d2a9e88327fa (patch) | |
tree | 1aee770ef0337ca08b630ee7cb4e58adad816f4d /src/plugins | |
parent | a5ed3fe51ec10f98a718b59db4ecab8e81aa2462 (diff) | |
download | rspamd-2143d4b1460fc275cef551e69b93d2a9e88327fa.tar.gz rspamd-2143d4b1460fc275cef551e69b93d2a9e88327fa.zip |
[Feature] Clickhouse: Utilise LowCardinality feature
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/clickhouse.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index b4d5a859a..ccaee3042 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -105,7 +105,7 @@ CREATE TABLE rspamd IsSpf Enum8('reject' = 0, 'allow' = 1, 'neutral' = 2, 'dnsfail' = 3, 'na' = 4, 'unknown' = 5) DEFAULT 'unknown', NUrls Int32, Action Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4, 'soft reject' = 5, 'custom' = 6) DEFAULT 'no action', - CustomAction String, + CustomAction LowCardinality(String), FromUser String, MimeUser String, RcptUser String, @@ -122,9 +122,9 @@ CREATE TABLE rspamd `Urls.Url` Array(String), Emails Array(String), ASN String, - Country FixedString(2), + Country LowCardinality(FixedString(2)), IPNet String, - `Symbols.Names` Array(String), + `Symbols.Names` Array(LowCardinality(String)), `Symbols.Scores` Array(Float32), `Symbols.Options` Array(String), ScanTimeReal UInt32, |