Thank you for the detailed description of your issue. Based on the knowledge sources provided: - Airbyte does perform column name sanitization to ensure compatibility with SQL destinations. For example, spaces in column names like "Line No" are converted to "line_no" (lowercased and spaces replaced with underscores) when syncing to destinations such as ClickHouse. This is a standard behavior to ensure SQL-compliance and is not specific to ClickHouse alone. The sanitization process is described for other connectors (e.g., Google Sheets), but the general approach applies across Airbyte destinations: all converted column names are lowercased, spaces and special characters are replaced or removed, and only single underscores are used to separate tokens. The result is always SQL-friendly and readable. There is no mention of a global option to disable this sanitizer in the knowledge sources provided, and it is generally required for compatibility with SQL databases [Google Sheets Connector Column Name Conversion](
https://docs.airbyte.com/integrations/sources/google-sheets#google-sheets-connector-column-name-conversion). - Regarding your specific error: On the second sync, Airbyte attempts to add a column with the original name ("Line No") instead of the sanitized name ("line_no" or "Line_No"), which leads to a schema diff mismatch and a ClickHouse privilege error. This suggests that the connector is not consistently mapping the sanitized column name between syncs, which could be a bug in the schema diff logic of the V2 connector. - The documentation for ClickHouse destination confirms that Airbyte creates tables and columns using unquoted identifiers when possible, falling back to quoted identifiers if special characters are present. This means that if the column name is sanitized to "line_no", it should remain consistent unless the schema diff logic is not correctly mapping the sanitized names [Naming Conventions](
https://docs.airbyte.com/integrations/destinations/clickhouse-deprecated#naming-conventions). - There is no documented way to disable the column name sanitizer in Airbyte for ClickHouse or other SQL destinations. The sanitizer is necessary to ensure compatibility with SQL identifier rules.
Conclusion: This appears to be a schema-diff bug in the V2 connector, where the mapping between the original and sanitized column names is not handled consistently between syncs. There is no supported way to disable the sanitizer. You may want to report this as a bug to the Airbyte team, referencing your connector and Airbyte versions, and include details about the column name transformation and the resulting error. If you need a workaround, you could try to ensure that your source column names are already SQL-compliant (no spaces or special characters), but this may not be feasible in all cases. If you need further assistance, I recommend opening an issue with the Airbyte team or joining their Slack for direct support, as requested in the [MSSQL V2 beta feedback thread](
https://github.com/airbytehq/airbyte/discussions/53618).