clickhouse-kafka-connect
clickhouse-kafka-connect copied to clipboard
Ingestion fails if a field name in the clickhouse table contains characters other than alphanumeric
@DmitryBe
Ingestion in clickhouse fails through this connector if field name in the clickhouse schema contains characters other than alphanumeric.
E.g:-
CREATE TABLE sample (Event-Name
String, Unique-ID
String, Event-Time
DateTime)
ENGINE = MergeTree() PARTITION BY toYYYYMM(Event-Time
) ORDER BY (toYYYYMM(Event-Time
), Event-Name
) SETTINGS index_granularity = 8192
In the above schema all the fields have "-" in their names.
This might be required if we want to have direct mapping from field names in kafka event to schema fields in clickhouse table.
There is a small fix for this. I want to create a pull request for this. Please let me know.
@DmitryBe Is this not active repo?