Clickhouse: incorrect query when filtering on 'string' measure with 'equals' operator #7328
Labels
bug
Something isn't working
driver:clickhouse
Issues related to the ClickHouse driver
help wanted
Community contributions are welcome.
Describe the bug
Cube generates incorrect query when measure of type 'string' is used as a filter with operator 'equals'. This applies to Clickhouse driver. Despite the measure being of type 'string', the generated HAVING clause tries to compare string value to the value of toFloat64(?).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The correct query should be generated. Cube should not use the toFloat64 function.
Screenshots
Minimally reproducible Cube Schema
Version:
0.34.10
The text was updated successfully, but these errors were encountered: