-
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
Support table redirections from Hive to Delta Lake #11550
Support table redirections from Hive to Delta Lake #11550
Conversation
the CI is red. btw is this the reason this is a Draft? |
I intend to add the product tests for ensuring that the functionality works as expected before setting the PR ready for review. |
5a062f9
to
c245456
Compare
There were missing some config coverage tests for Hive before. |
Per offline discussion, this is blocked by #11565 so that we can add tests. |
TODO: Add
|
Tests require #11565 |
Hi, I'm wondering if there's any timeline for this feature's release? Thank you! |
e7f1dce
to
e5a20dd
Compare
e5a20dd
to
6c5ae97
Compare
Rebased on |
bd5f4be
to
6776fd2
Compare
...ino-delta-lake/src/test/java/io/trino/plugin/deltalake/BaseDeltaLakeSharedMetastoreTest.java
Outdated
Show resolved
Hide resolved
...ino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeSharedGlueMetastore.java
Outdated
Show resolved
Hide resolved
6776fd2
to
af723a6
Compare
@findepi the compilation of the |
This comment was marked as duplicate.
This comment was marked as duplicate.
dcaca0a
to
22f227b
Compare
https://github.com/trinodb/trino/runs/6110999392?check_suite_focus=true
|
@@ -426,6 +432,18 @@ | |||
</ignoredResourcePatterns> | |||
</configuration> | |||
</plugin> | |||
|
|||
<plugin> | |||
<artifactId>maven-dependency-plugin</artifactId> |
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.
d5c9463
to
7e20a59
Compare
Rebased on |
6e980e8
to
21ea76e
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.
Couple small things
plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveConfig.java
Outdated
Show resolved
Hide resolved
@@ -116,6 +116,7 @@ | |||
public static final String SIZE_BASED_SPLIT_WEIGHTS_ENABLED = "size_based_split_weights_enabled"; | |||
public static final String MINIMUM_ASSIGNED_SPLIT_WEIGHT = "minimum_assigned_split_weight"; | |||
public static final String NON_TRANSACTIONAL_OPTIMIZE_ENABLED = "non_transactional_optimize_enabled"; | |||
public static final String DELTA_LAKE_CATALOG_NAME = "delta_lake_catalog_name"; |
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.
Same here, put the redirect catalog name fields together
21ea76e
to
b37089a
Compare
The Hive connector can make use of the `hive.delta-lake-catalog-name` configuration property for enable table redirects towards the Delta Lake tables.
b37089a
to
cafe666
Compare
Rebased on |
The Hive connector can make use of the
hive.delta-lake-catalog-name
configuration property for enable table redirects towards the
Delta Lake tables.
Description
Improvement
Hive connector
This functionality allows redirecting behind the scenes the a table task used for reading / updating the table from the Hive connector to the Delta Lake connector in case that the table to which the SQL command points to is a Delta Lake table.
Related issues, pull requests, and links
Depends on #11565
Documentation
( ) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
( ) Release notes entries required with the following suggested text: