Revert "common/clickhousedb: set allow_suspicious_low_cardinality_types to 1"

This reverts commit 6244b2e136. ClickHouse
23.3 does not work correctly with IPv6 and Kafka.
This commit is contained in:
Vincent Bernat
2023-05-16 08:32:32 +02:00
parent ce98e51e81
commit ced8b89a99
6 changed files with 4 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ jobs:
ports:
- 6379:6379
clickhouse:
image: clickhouse/clickhouse-server:23.3
image: clickhouse/clickhouse-server:22.8
ports:
- 9000:9000
env:

View File

@@ -40,7 +40,7 @@ run tests:
alias: kafka
- name: bitnami/redis:7.0
alias: redis
- name: clickhouse/clickhouse-server:23.3
- name: clickhouse/clickhouse-server:22.8
alias: clickhouse
script:
- time apk add --no-cache git make gcc musl-dev shared-mime-info npm curl

View File

@@ -48,9 +48,6 @@ func New(r *reporter.Reporter, config Configuration, dependencies Dependencies)
MaxOpenConns: config.MaxOpenConns,
MaxIdleConns: config.MaxOpenConns/2 + 1,
ConnMaxLifetime: time.Hour,
Settings: clickhouse.Settings{
"allow_suspicious_low_cardinality_types": 1,
},
ClientInfo: clickhouse.ClientInfo{
Products: []struct {
Name string

View File

@@ -13,10 +13,6 @@ identified with a specific icon:
## Unreleased
- 🩹 *orchestrator*: create flows table with
`allow_suspicious_low_cardinality_types` to ensure we can use
`LowCardinality(IPv6)`.
- 🌱 *docker*: update ClickHouse to 23.3 (this is not mandatory)
- 🌱 *build*: minimum supported Node version is now 16
## 1.8.3 - 2023-04-28

View File

@@ -31,7 +31,7 @@ services:
- 127.0.0.1:6379:6379/tcp
clickhouse:
image: clickhouse/clickhouse-server:23.3
image: clickhouse/clickhouse-server:22.8
ports:
- 127.0.0.1:8123:8123/tcp
- 127.0.0.1:9000:9000/tcp

View File

@@ -130,7 +130,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
clickhouse:
image: clickhouse/clickhouse-server:23.3
image: clickhouse/clickhouse-server:22.8
volumes:
- ./orchestrator/clickhouse/data/docker-entrypoint.sh:/docker-entrypoint-initdb.d/init-db.sh:ro
- akvorado-clickhouse:/var/lib/clickhouse