v.24.1Improvement
MySQL Interface Enhancements in ClickHouse: Support for Timeout Settings and SQL Select Limit Fix
MySQL interface gained support fornet_write_timeoutandnet_read_timeoutsettings.net_write_timeoutis translated into the nativesend_timeoutClickHouse setting and, similarly,net_read_timeoutintoreceive_timeout. Fixed an issue where it was possible to set MySQLsql_select_limitsetting only if the entire statement was in upper case. #58835 (Serge Klochkov).
Why it matters
This feature improves compatibility and usability of the MySQL interface by enabling timeout configurations for network write and read operations. It also resolves a limitation that requiredsql_select_limit to be set only if the query was fully uppercase, thus making the interface more flexible and user-friendly.How to use it
Users can now setnet_write_timeout and net_read_timeout in MySQL protocol sessions; these will automatically translate to the native ClickHouse send_timeout and receive_timeout settings. The sql_select_limit can be applied without case restrictions on the statement.