Destination Clickhouse syncs fail before inserting records
Connector Name
desination-clickhouse
Connector Version
2.1.24
What step the error happened?
During the sync
Relevant information
Logging on behalf of a community member from Slack:
We are using Airbyte OSS 2.0.1 with ClickHouse destination connector 2.1.24. After upgrading ClickHouse from 26.6.1.1193 to 26.8 LTS, syncs fail before inserting records with: Failed to get table schema Non-null columnName and columnType are required TableSchemaParser.readTSKV The connector bundles ClickHouse Java client-v2 0.9.4. ClickHouse 26.8 changed the precedence of the X-ClickHouse-Format header, causing the client’s DESCRIBE TABLE ... FORMAT TSKV response to be returned as RowBinary and incorrectly parsed as TSKV. The issue is fixed upstream in clickhouse-java #3069, but Airbyte connector versions up to 2.1.30 do not appear to include the updated client. ClickHouse 26.6 works correctly.
Relevant log output
Contribute
- Yes, I want to contribute
Source: airbytehq/airbyte