v.23.6New Feature
Add Setting for MySQL Type Display in SHOW COLUMNS Statement
Add a new setting nameduse_mysql_types_in_show_columnsto alter theSHOW COLUMNSSQL statement to display MySQL equivalent types when a client is connected via the MySQL compatibility port. #49577 (Thomas Panetti).
Why it matters
This feature addresses the need for better MySQL compatibility by adjusting the data types shown inSHOW COLUMNS to match MySQL's type conventions. It improves usability and integration for users connecting to ClickHouse using MySQL clients or tools expecting MySQL-style type information.How to use it
To enable this feature, set theuse_mysql_types_in_show_columns setting to 1 in the session or user profile when connected via the MySQL compatibility port. This will cause the SHOW COLUMNS statement to return column types in MySQL format.