-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Draft] Add support for JOIN PUSHDOWN in Exasol connector #26558
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
Conversation
9dce6bc
to
98b0b7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit includes various changes unrelated to join pushdown. Please separate them into different commits.
plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/BaseJdbcConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/BaseJdbcConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/BaseJdbcConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Show resolved
Hide resolved
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/main/java/io/trino/plugin/exasol/ExasolClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/main/java/io/trino/plugin/exasol/ExasolClient.java
Show resolved
Hide resolved
49489e2
to
183d636
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved some review comments by adding tests for toWriteMapping and some other changes.
Also, in this improved solution BaseJdbcConnectorTest is not changed at all!
All necessary changes are done in TestExasolConnectorTest
testJoinPushdown() from BaseJdbcConnectorTest is enabled with SUPPORTS_JOIN_PUSHDOWN -> true flag
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-exasol/src/test/java/io/trino/plugin/exasol/TestExasolConnectorTest.java
Outdated
Show resolved
Hide resolved
183d636
to
077acbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added test coverage for toWriteMapping and convertPredicate
- Removed all changes from BaseJdbcConnectorTest
- Splited the changes to 4 commits
Implementation of methods toWriteMapping and convertPredicate are required to make testJoinPushDown work.
Is it ok to keep these changes in one PR, or should I create separate PRs for each of these changes?
d7b955c
to
a320fe4
Compare
a320fe4
to
d994c52
Compare
Converted this PR to DRAFT, because it contains many changes, which should be splited into several PRs.
Next PRs will be created later, after the first two merged. |
Closed, and will be used as DRAFT for implementing JOIN_PUSHDOWN |
Description
Added Exasol Trino connector support for JOIN PUSHDOWN by implementing connectorExpressionRewriter and convertPredicate in ExasolClient
Additional context and related issues
Release notes