Improve Clickhouse varchar equalities pushdown#23455
Improve Clickhouse varchar equalities pushdown#23455ssheikin wants to merge 2 commits intotrinodb:masterfrom
Conversation
plugin/trino-clickhouse/src/main/java/io/trino/plugin/clickhouse/ClickHouseClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/main/java/io/trino/plugin/clickhouse/ClickHouseClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/main/java/io/trino/plugin/clickhouse/ClickHouseClient.java
Outdated
Show resolved
Hide resolved
2870fa9 to
660766a
Compare
|
@Praveen2112 please approve. |
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/expression/RewriteIn.java
Outdated
Show resolved
Hide resolved
660766a to
8ebe081
Compare
|
All comments are addressed. Please approve. |
8ebe081 to
6715345
Compare
hashhar
left a comment
There was a problem hiding this comment.
I need to verify if tests are using connector expression pushdown or tuple domain.
...n/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-clickhouse/src/main/java/io/trino/plugin/clickhouse/ClickHouseClient.java
Outdated
Show resolved
Hide resolved
...n/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorTest.java
Outdated
Show resolved
Hide resolved
...n/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorTest.java
Outdated
Show resolved
Hide resolved
...n/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestClickHouseConnectorTest.java
Outdated
Show resolved
Hide resolved
|
also I see clickhouse connector can both expose So do we need to test in both modes the pushdown? Does it matter? |
I guess for simple expression we use TupleDomain and for expression with OR it would use connector expression |
6715345 to
99b9636
Compare
There was a problem hiding this comment.
also I see clickhouse connector can both expose
FixedString/Stringas TrinoVARCHARandVARBINARY(default).So do we need to test in both modes the pushdown? Does it matter?
@hashhar @Praveen2112 considering
// TODO (#7102) reconsider default behavior
Support for VARBINARY may be considered as a separate effort.
99b9636 to
7cd3dbb
Compare
|
@hashhar @Praveen2112 All comments addressed. Please approve. |
7cd3dbb to
dc5a204
Compare
Predicate pushdown - equals - in - like - is null - null if
dc5a204 to
f1a8cf4
Compare
|
Closing as it has partially transformed to #23558 |
Connector expressions
Description
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: