-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-28658 Add Iceberg REST Catalog client support #5628
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
Closed
zratkai
wants to merge
3
commits into
apache:master
from
zratkai:HIVE-28658-IcebergRESTCatalogClient
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why did you remove the test scope?
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.
I added import in HMSTablePropertyHelper which needs this dependency.
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.
you shouldn't add hive-exec as dependency to iceberg-catalog. catalog can be used by Spark and Impala that doesn't have/need hive-exec dependency
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.
Are you sure it is used in Spark or Impala?
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.
yes, there is no iceberg runtime post iceberg 1.8
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.
Yes, It is definitely used by Impala.
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.
I have unknowns around this area. Why do we have
org.apache.iceberg.hive.HiveCatalogwhile Apache Iceberg also has it? I recall we discussed ML before, but I'm still unsure about some points. When I started being involved with Hive + Iceberg, we already had ported files.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.
@okumin historical reasons :)
Was already like that when i joined the project. The main reason was a struggle to get anything into iceberg repo.
Not 100% sure, but I think Iceberg folks still haven't upgraded to Hive-4.x, so there could be some conflicts.
However, I agree on a long run we should drop it from Hive and use iceberg dependency
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.
I checked and there is 0 reference from Impala and 0 reference from Spark for hive-iceberg-catalog.
Uh oh!
There was an error while loading. Please reload this page.
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.
iceberg-catalogshouldn't have any dependency on runtime (hive-exec) !!This is a temporary copy of
iceberg-hive-metastore, a direct dependency oficeberg-spark-runtime.With the removal of
iceberg-hive-runtimein Iceberg 1.8, Impala needs to adopt the Hive Iceberg runtime jar.https://github.com/apache/impala/blob/41b6652fbf612a44676fed1cd9bd0da45133a04d/fe/pom.xml#L437-L441
PS: Only resolve comments after reaching consensus!