-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable varchar equality predicate pushdown for ClickHouse connector #21557
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
3317f10
to
b28c04b
Compare
b28c04b
to
16cfe11
Compare
Rebased. |
...n/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Outdated
Show resolved
Hide resolved
48d7cd9
to
72ce208
Compare
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Show resolved
Hide resolved
4681ef7
to
c15a930
Compare
c15a930
to
36db7fa
Compare
Rebased |
Hi @sylph-eu when are we planning to release this PR? Trino version. |
36db7fa
to
2ac3862
Compare
Rebased once more. |
Hello @ebyhr, this is very good feature and our team is eagerly waiting for it. It will be really good if you can check. |
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Show resolved
Hide resolved
plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/BaseClickHouseTypeMapping.java
Show resolved
Hide resolved
65c976a
to
105ef68
Compare
105ef68
to
cc8cea6
Compare
cc8cea6
to
ba35000
Compare
Description
This PR depends partially addresses #7100 (only textual types for now).
Type mapping unit tests were extended with more cases. In addition to
Type
andNullable(Type)
I'm testing whetherLowCardinality
modifier causes issues. In the past ClickHouse had some incompatibilities between regular and LowCardinality types, therefore it's worth putting them in the unit tests.Only equality predicate is enabled for now as ClickHouse does not support collation. Respective unit tests were put into
TestClickHouseConnectorTest.testTextualPredicatePushdown
.Additional context and related issues
I hope to continue working on #7100 to support pushdown for more more types (enums, decimals, etc).
Release notes
(X) Release notes are required, with the following suggested text: