v.20.6Improvement
Supported MySQL SELECT DATABASE() and Added Integration Test
Supported MySQL 'SELECT DATABASE()' #9336 2. Add MySQL replacement query integration test. #12314 (BohuTANG).
Why it matters
This feature enables ClickHouse to recognize and handle the MySQL-specificSELECT DATABASE() statement, improving compatibility for users migrating or integrating MySQL queries. It allows seamless execution of queries that include this function without errors.How to use it
Users can now run queries containingSELECT DATABASE() directly in ClickHouse without requiring any additional configuration or syntax changes.