Observed
Both LZ4 and ZSTD compression methods simply set compress=1:
|
case CompressionZSTD, CompressionLZ4: |
|
options.settings["compress"] = "1" |
There's no indication whether to use LZ4 or ZSTD, so the response is always LZ4.
Expected behaviour
ZSTD is actually used.
Details
Environment
Observed
Both LZ4 and ZSTD compression methods simply set
compress=1:clickhouse-go/conn_http_query.go
Lines 42 to 43 in aebb65f
There's no indication whether to use LZ4 or ZSTD, so the response is always LZ4.
Expected behaviour
ZSTD is actually used.
Details
Environment
clickhouse-goversion: v2.41.0CREATE TABLEstatements for tables involved: