Closed djuarezg closed 7 months ago
What would be the preferred solution, given that 23.3 should be EOL when 24.3 is out and it's better to keep the Unicode versions of the startWith
/endWith
/lower
/position
functions in the driver by default?
Maybe some kind of a driver configuration toggle (indicating that the ClickHouse deployment is <23.8)?
EDIT: apologies for this issue, I should've checked the changelog when implementing it, as the functions descriptions were not mentioning the release version at the time. However, thanks to this one, they do now.
if the driver can identify somehow the version that would be great, otherwise a user-defined flag or conf would be sufficient.
if the driver can identify somehow the version that would be great
Yes, looks like it is the best solution. I'll check if this is possible to do from the driver in a clean way.
Steps to reproduce
If you go to the generated SQL question and edit the used function yourself all works fine
Expected behaviour
Do not use
startsWithUTF8
on the applied filter when using filters through the UI instead of writing the full SQL question, or at least do not take for granted that CH has that function which is only available from https://clickhouse.com/docs/en/whats-new/changelog/2023#238 versionError log
Configuration
Environment
ClickHouse server
LowCardinality(Nullable(String))
fields