Add singlenode-hudi product test environment and product tests#14936
Add singlenode-hudi product test environment and product tests#14936ebyhr merged 1 commit intotrinodb:masterfrom
singlenode-hudi product test environment and product tests#14936Conversation
|
@ebyhr @findinpath I have addressed the comments from #14669 and also added a few more tests. Please take a look. |
...auncher/src/main/java/io/trino/tests/product/launcher/env/environment/EnvSinglenodeHudi.java
Outdated
Show resolved
Hide resolved
...auncher/src/main/java/io/trino/tests/product/launcher/env/environment/EnvSinglenodeHudi.java
Outdated
Show resolved
Hide resolved
...uct-tests-launcher/src/main/java/io/trino/tests/product/launcher/suite/suites/SuiteHudi.java
Outdated
Show resolved
Hide resolved
.../main/resources/docker/presto-product-tests/conf/environment/singlenode-hudi/hive.properties
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiMinioReads.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiMinioReads.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiMinioReads.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiMinioReads.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiMinioReads.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/utils/QueryExecutors.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
It should be possible. I will check.
47f7cd4 to
55c9987
Compare
...auncher/src/main/java/io/trino/tests/product/launcher/env/environment/EnvSinglenodeHudi.java
Outdated
Show resolved
Hide resolved
...auncher/src/main/java/io/trino/tests/product/launcher/env/environment/EnvSinglenodeHudi.java
Outdated
Show resolved
Hide resolved
8cec5f3 to
0317040
Compare
testing/trino-product-tests/src/main/java/io/trino/tests/product/utils/QueryExecutors.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Since we're testing "merge on read" it would be nice to actually have a case where a merge actually applies.
There was a problem hiding this comment.
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
|
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. |
e9b91f4 to
4cebd70
Compare
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
4cebd70 to
8cece3a
Compare
|
@findinpath Addressed all your feedback. This PR is ready to land. |
...auncher/src/main/java/io/trino/tests/product/launcher/env/environment/EnvSinglenodeHudi.java
Outdated
Show resolved
Hide resolved
...n/resources/docker/presto-product-tests/conf/environment/singlenode-hudi/spark-defaults.conf
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
9ce029b to
62a8798
Compare
...main/resources/docker/presto-product-tests/conf/environment/singlenode-hudi/log4j.properties
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
...rino-product-tests/src/main/java/io/trino/tests/product/hudi/TestHudiSparkCompatibility.java
Outdated
Show resolved
Hide resolved
|
Please squash commits into one. |
62a8798 to
52cd4ec
Compare
52cd4ec to
a6c25ae
Compare
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: