commit 9732b42: [Minor] Clickhouse: Remove unnecessary LowCardinality

Vsevolod Stakhov vsevolod at
Thu Jul 4 11:14:08 UTC 2019

Author: Vsevolod Stakhov
Date: 2019-07-04 12:13:00 +0100
URL: (HEAD -> master)

[Minor] Clickhouse: Remove unnecessary LowCardinality

 src/plugins/lua/clickhouse.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index f653ce68a..83e9b714d 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -126,7 +126,7 @@ CREATE TABLE rspamd
     `Urls.Url` Array(String) COMMENT 'Full URL if `full_urls` module option enabled, host part of URL otherwise',
     Emails Array(String) COMMENT 'List of emails extracted from the message',
     ASN UInt32 COMMENT 'BGP AS number for SMTP client IP (returned by or',
-    Country LowCardinality(FixedString(2)) COMMENT 'Country for SMTP client IP (returned by or',
+    Country FixedString(2) COMMENT 'Country for SMTP client IP (returned by or',
     IPNet String,
     `Symbols.Names` Array(LowCardinality(String)) COMMENT 'Symbol name',
     `Symbols.Scores` Array(Float32) COMMENT 'Symbol score',

More information about the Commits mailing list