Skip to content

Add singlenode-hudi product test environment and product tests#14936

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
codope:hudi-product-tests
Nov 17, 2022
Merged

Add singlenode-hudi product test environment and product tests#14936
ebyhr merged 1 commit intotrinodb:masterfrom
codope:hudi-product-tests

Conversation

@codope
Copy link
Copy Markdown
Contributor

@codope codope commented Nov 7, 2022

Fixes #14365

Description

Non-technical explanation

Release notes

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

@cla-bot cla-bot bot added the cla-signed label Nov 7, 2022
@codope codope added hudi Hudi connector test labels Nov 7, 2022
@codope
Copy link
Copy Markdown
Contributor Author

codope commented Nov 7, 2022

@ebyhr @findinpath I have addressed the comments from #14669 and also added a few more tests. Please take a look.

@ebyhr ebyhr mentioned this pull request Nov 8, 2022
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does Hudi allow specifying partitioned columns whose order is different from the table definition? e.g. CREATE TABLE (c1 int, c2 int, c3 int) PARTITIONED BY (c2, c1). Recently, Delta Lake connector faced correctness issue due to this order difference. It would be nice to have such test if Hudi supports it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It should be possible. I will check.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since we're testing "merge on read" it would be nice to actually have a case where a merge actually applies.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Since, snapshot queries are not yet supported for merge on read tables, so I will just add test for read-optimized queries. We will add snapshot query test in #14786

@findinpath
Copy link
Copy Markdown
Contributor

The set of product tests even though it is not exhaustive, is a pretty good scaffolding to build upon as we add new features to the hudi connector. Thanks for your contribution.

@codope codope force-pushed the hudi-product-tests branch 2 times, most recently from e9b91f4 to 4cebd70 Compare November 14, 2022 07:49
@codope codope force-pushed the hudi-product-tests branch from 4cebd70 to 8cece3a Compare November 14, 2022 15:55
@codope
Copy link
Copy Markdown
Contributor Author

codope commented Nov 15, 2022

@findinpath Addressed all your feedback. This PR is ready to land.

@ebyhr
Copy link
Copy Markdown
Member

ebyhr commented Nov 17, 2022

Please squash commits into one.

@codope codope force-pushed the hudi-product-tests branch from 52cd4ec to a6c25ae Compare November 17, 2022 07:04
@ebyhr ebyhr merged commit 577520c into trinodb:master Nov 17, 2022
@github-actions github-actions bot added this to the 404 milestone Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Add product test for Hudi

3 participants