Skip to content
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

[hive] Support syncing Iceberg compatible metadata to Hive, so Paimon table can be accessed from Iceberg Hive catalog #4343

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

tsreaper
Copy link
Contributor

Purpose

Iceberg Hive catalog is the most widely used Iceberg catalog. This PR supports syncing Iceberg compatible metadata to Hive, so Paimon table can be accessed from Iceberg Hive catalog.

Tests

IT cases.

API and Format

No format changes.

Documentation

Document is also added.

… table can be accessed from Iceberg Hive catalog
+ "either set {} for paimon table or set hive.metastore.uris "
+ "in hive-site.xml or hadoop configurations. "
+ "Will use empty metastore uris, which means we may use a embedded metastore. "
+ "The may cause unpredictable consensus problem.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may

}
}

public void commitMetadataImpl(Path newMetadataPath, @Nullable Path baseMetadataPath)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private

Integer.MAX_VALUE,
new StorageDescriptor(),
Collections.emptyList(),
new HashMap<>(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new HashMap<>(3),

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit beb6901 into apache:master Oct 21, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants