v.20.4Improvement
Implement LIKE Operator for FixedString in ClickHouse
Implement operator LIKE for FixedString at left hand side. This is needed to better support TPC-DS queries. #9890 (alexey-milovidov)
Why it matters
This feature improves support for TPC-DS benchmark queries by allowingLIKE operations where the pattern is compared to a FixedString value. It enables more flexible and efficient query patterns involving fixed-length strings in LIKE expressions.How to use it
Users can now use theLIKE operator directly with FixedString columns or expressions on the left side, for example:SELECT * FROM table WHERE fixed_string_column LIKE 'pattern%'