v.23.9Improvement
Enhancements to ClickHouse's Information Schema for MySQL Compatibility
Made the views in schemainformation_schemamore compatible with the equivalent views in MySQL (i.e. modified and extended them) up to a point where Tableau Online is able to connect to ClickHouse. More specifically: 1. The type of fieldinformation_schema.tables.table_typechanged from Enum8 to String. 2. Added fieldstable_commentandtable_collationto viewinformation_schema.table. 3. Added viewsinformation_schema.key_column_usageandreferential_constraints. 4. Replaced uppercase aliases ininformation_schemaviews with concrete uppercase columns. #54773 (Serge Klochkov).
Why it matters
This feature improves ClickHouse's compatibility with MySQL by modifying and extending theinformation_schema views. It addresses issues preventing Tableau Online from connecting to ClickHouse by aligning the schema more closely with MySQL's expectations—such as adjusting data types, adding missing fields, and creating additional views that represent key constraints.How to use it
Users benefit from this improvement automatically after upgrading to the new ClickHouse version containing these changes. The updatedinformation_schema views require no special configuration, enabling tools like Tableau Online to connect seamlessly without manual intervention.