Skip to content

Add Hudi MOR snapshot query and metadata table support #25599

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codope
Copy link
Contributor

@codope codope commented Apr 16, 2025

Description

  • Re-enable metadata table support - bring back the defunct config.
  • Add support for reading log files to support snapshot querying of Hudi Merge-on-Read (MOR) tables.

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## Hudi
* Support for snapshot query of Hudi Merge-on-Read (MOR) tables.
* Support for Hudi metadata table.

@cla-bot cla-bot bot added the cla-signed label Apr 16, 2025
@codope codope requested a review from ebyhr April 16, 2025 12:52
@github-actions github-actions bot added hudi Hudi connector hive Hive connector labels Apr 16, 2025
Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

Please fix CI failures.

@codope codope force-pushed the hudi-mor-snapshot branch from 0cfa118 to 941d35d Compare April 17, 2025 13:55
@github-actions github-actions bot added the docs label Apr 17, 2025
Copy link

cla-bot bot commented Apr 21, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot cla-bot bot removed the cla-signed label Apr 21, 2025
@codope codope force-pushed the hudi-mor-snapshot branch from 0e495c0 to 935c8c0 Compare April 21, 2025 11:36
Copy link

cla-bot bot commented Apr 21, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Read log files using filegroup reader and fix tests

Add test table and a test with metadata enabled

fix checkstyle and dependency issues

Address comments

Fix SqlDate type not able to cast to Number error
@codope codope force-pushed the hudi-mor-snapshot branch from 935c8c0 to d9200d3 Compare April 21, 2025 15:49
@cla-bot cla-bot bot added the cla-signed label Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed docs hive Hive connector hudi Hudi connector
Development

Successfully merging this pull request may close these issues.

2 participants