<@U04S8PLJWMT> My clickhouse connector is only syn...
# ask-ai
v
@kapa.ai My clickhouse connector is only syncing the same 7 tables, it never syncs the other 34 streams. I keep getting this warning Warning from source: Something went wrong in the connector. See the logs for more details. java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException: getResultSet not implemented
k
Based on the information in the knowledge sources, the warning you are seeing—`java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException: getResultSet not implemented`—suggests that the ClickHouse JDBC driver or the Airbyte ClickHouse connector is attempting to use a JDBC feature (
getResultSet
) that is not implemented by the ClickHouse driver. This type of error is not directly referenced in the provided knowledge sources, but there are several related issues with the ClickHouse destination connector, including incomplete syncs, missing tables, and connector errors. For example, users have reported that only some tables are synced while others are not, and that the ClickHouse connector is outdated and does not use the latest Airbyte destination framework, which can lead to various limitations and errors, especially with larger or more complex syncs. The documentation also notes that the ClickHouse connector is archived and may not work well with large datasets or have performance issues, and that certain features are not supported or implemented in the current connector version. This could explain why only a subset of your streams are syncing successfully, while others fail with JDBC-related errors or unsupported features[ClickHouse destination (archived)](https://docs.airbyte.com/integrations/destinations/clickhouse-deprecated). Unfortunately, the knowledge sources do not provide a direct solution or workaround for the specific
getResultSet not implemented
error. However, it is clear that the ClickHouse destination connector is currently limited and may not support all features required for your use case. The Airbyte team is aware of these limitations and has indicated that work is planned to refresh and enhance the ClickHouse destination, but this may take several weeks to be available[ClickHouse destination not syncing data to main tables](https://github.com/airbytehq/airbyte/issues/36199). What you can do: - Monitor the [GitHub issue for ClickHouse destination](https://github.com/airbytehq/airbyte/issues/36199) for updates on the connector refresh. - Consider using an alternative approach, such as exporting data to a supported destination and then loading it into ClickHouse, or using dbt for post-processing, as some users have done. - If possible, review your sync configuration to ensure you are not using features or sync modes that are unsupported by the current ClickHouse connector. I'm sorry I can't provide a more specific fix, but the current state of the ClickHouse connector in Airbyte is known to be limited and may not support all use cases or JDBC features required for syncing all streams.
v
I am using clickhouse as a source and snowflake as a destination.
@kapa.ai I am using clickhouse as a source and snowflake as a destination.
k
A message from kapa.ai
Based on the knowledge sources provided, Airbyte does support using ClickHouse as a source and Snowflake as a destination. The ClickHouse source connector supports both Full Refresh and Incremental syncs, and is built on top of the source-jdbc code base using the ClickHouse JDBC driver. You need to ensure your ClickHouse server is version 21.3.10.1 or later, and it's recommended to create a dedicated read-only Airbyte user with access to the relevant tables for replication. The connector does not alter the schema in ClickHouse, but the schema may be changed depending on the destination (in your case, Snowflake) [ClickHouse source documentation](https://docs.airbyte.com/integrations/sources/clickhouse). However, there are no detailed troubleshooting steps or specific limitations mentioned in the knowledge sources regarding syncing from ClickHouse to Snowflake. If you encounter issues, you should check the Airbyte logs for more details, as errors may be related to JDBC driver limitations or unsupported features in the ClickHouse connector. If you see errors like
SQLFeatureNotSupportedException
, it may indicate that the ClickHouse JDBC driver does not support certain operations required by Airbyte, which could impact your syncs. If you need more specific help with errors or configuration, please provide the relevant error messages or logs.
v
@kapa.ai What can I do as next steps. Should I just abandon Airbyte for this use case? It seems like the connector is just non-functional.
k
A message from kapa.ai
Given your scenario—using ClickHouse as a source and Snowflake as a destination—and the error you’re encountering (
SQLFeatureNotSupportedException: getResultSet not implemented
), here’s what the knowledge sources indicate: - The ClickHouse source connector is built on the JDBC driver, and some JDBC features are not implemented in ClickHouse. This can cause sync failures, especially if Airbyte or the driver attempts to use unsupported features. The documentation does not provide a workaround for this specific error, nor does it confirm full compatibility for all use cases with ClickHouse as a source[ClickHouse source documentation](https://docs.airbyte.com/integrations/sources/clickhouse). - There are known limitations and open issues with both ClickHouse connectors (source and destination) in Airbyte, and some users have reported similar frustrations with incomplete or non-functional syncs. The Airbyte team is aware of these issues, but there is no immediate fix or timeline for resolution in the knowledge sources[ClickHouse destination not syncing data to main tables](https://github.com/airbytehq/airbyte/issues/36199). Next steps you can consider: 1. Check for Updates: Ensure you are using the latest version of Airbyte and the ClickHouse connector, as improvements and bug fixes are ongoing. 2. Review Logs: Examine the Airbyte logs for more detailed error messages. Sometimes, adjusting the sync configuration (e.g., syncing fewer tables at a time) can help, but this is not guaranteed. 3. Alternative Approaches: Some users have resorted to using dbt or other ELT tools to transform and move data after extracting raw data with Airbyte, but this is more of a workaround than a solution. 4. Monitor Airbyte’s Progress: The Airbyte team is working on improving ClickHouse support, but there is no guarantee of a near-term fix. You can follow progress and updates on relevant GitHub issues and discussions[ClickHouse destination not syncing data to main tables](https://github.com/airbytehq/airbyte/issues/36199). Should you abandon Airbyte for this use case? If your project is blocked and you require a stable, production-ready solution for syncing ClickHouse to Snowflake, the knowledge sources suggest that Airbyte’s current ClickHouse connector may not meet your needs. There is no evidence in the documentation or issues that a reliable workaround exists for the JDBC feature limitations you’re facing. If waiting for a fix is not an option, you may need to consider alternative ETL/ELT tools or custom scripts for this workflow. I'm sorry the knowledge sources do not offer a more positive or immediate solution. If you have flexibility in your stack, exploring other tools may be the most pragmatic next step.