trino
trino copied to clipboard
Enable enum equality predicate pushdown for ClickHouse connector
Description
Partially addresses #7100 .
Enables equality predicate pushdown for enum types. It's similar to VARCHAR (from Trino's perspective), but is not that "general-purpose". Until ClickHouse fully supports collation (atm it's only implemented for ORDER BY clause) range predicates are not pushed down.
Additional context and related issues
Submitted https://github.com/ClickHouse/ClickHouse/issues/62701 for unexpected behaviour.
Next I'll be looking at Decimals, time types and aggregate functions.
Release notes
( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. (X ) Release notes are required, with the following suggested text:
# Section
* Enable enum equality predicate pushdown. ({issue}`7100`)
Rebased.
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua
This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua
Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.
Feel free to reopen and rebase or start a new PR if you want to continue working on this PR @sylph-eu