Crash when table has LowCardinality(Nullable(String)) field
mzealey opened this issue · comments
Mark Zealey commented
Pg 12.5, latest clickhouse-fdw, latest clickhouse:20 docker image.
In clickhouse:
CREATE TABLE test (
time DateTime ,
test LowCardinality(Nullable(String))
) ENGINE = MergeTree()
PARTITION BY toDate(time)
ORDER BY (time);
IMPORT FOREIGN SCHEMA "test" FROM SERVER clickhouse_svr INTO public;
then crashes.
LowCardinality(String)
and Nullable(String)
work fine by themselves.
Ildus Kurbangaliev commented
Hi, binary or http protocol?
Mark Zealey commented
both i think
Ildus Kurbangaliev commented
IMPORT should be fixed, along with queries on http
protocol. But LowCardinality(Nullable)
columns would not work on binary
protocol, since library I use for the communication doesn't support them.
Mark Zealey commented
confirm this works thanks