-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add hive4 query runner and tests #24418
Add hive4 query runner and tests #24418
Conversation
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4Metastore.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4Metastore.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4MinioDataLake.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
Outdated
Show resolved
Hide resolved
...rc/test/java/io/trino/plugin/iceberg/catalog/hms/TestTrinoHive4CatalogWithHiveMetastore.java
Outdated
Show resolved
Hide resolved
7891c62
to
bc7f174
Compare
bc7f174
to
cba0c2d
Compare
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4HiveServer.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4Metastore.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4MinioDataLake.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
Outdated
Show resolved
Hide resolved
...rc/test/java/io/trino/plugin/iceberg/catalog/hms/TestTrinoHive4CatalogWithHiveMetastore.java
Outdated
Show resolved
Hide resolved
...rc/test/java/io/trino/plugin/iceberg/catalog/hms/TestTrinoHive4CatalogWithHiveMetastore.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
Outdated
Show resolved
Hide resolved
4b7d6a2
to
c235742
Compare
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.
LGTM % Anu's comments.
plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseTestHiveOnDataLake.java
Show resolved
Hide resolved
https://github.com/trinodb/docker-images release is complete. |
4d83587
to
b5b5031
Compare
f40a86c
to
b019fee
Compare
c08f7b5
to
c20f3e0
Compare
...a-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeFlushMetadataCacheProcedure.java
Outdated
Show resolved
Hide resolved
|
||
public HiveMinioDataLake(String bucketName) | ||
{ | ||
this.bucketName = requireNonNull(bucketName, "bucketName is null"); |
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.
instead of passing bucketname, can you simply create unique buckets using + randomSuffix()
here ?
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 feel that bucket name is taken as an input to provide meaningful bucket name by caller as HiveMinioDataLake is used across classes.
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.
by caller as HiveMinioDataLake is used across classes.
ya but does not look like Test... CatalogWithHiveMetastore
does the same..nbd
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive3OnDataLake.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
Outdated
Show resolved
Hide resolved
c38b2b6
to
4305438
Compare
@hashhar please review. |
4305438
to
22e3e83
Compare
22e3e83
to
3adb961
Compare
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.
few nits. LGTM
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4Metastore.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4HiveServer.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4HiveServer.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4Metastore.java
Show resolved
Hide resolved
plugin/trino-hive/src/test/resources/hive_minio_datalake/hive4-hive-site.xml
Outdated
Show resolved
Hide resolved
|
||
public HiveMinioDataLake(String bucketName) | ||
{ | ||
this.bucketName = requireNonNull(bucketName, "bucketName is null"); |
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.
by caller as HiveMinioDataLake is used across classes.
ya but does not look like Test... CatalogWithHiveMetastore
does the same..nbd
3adb961
to
b6993e7
Compare
plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseTestHiveOnDataLake.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseTestHiveOnDataLake.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/s3/S3HiveQueryRunner.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/containers/Hive4MinioDataLake.java
Outdated
Show resolved
Hide resolved
...rc/test/java/io/trino/plugin/iceberg/catalog/hms/TestTrinoHive4CatalogWithHiveMetastore.java
Show resolved
Hide resolved
b6993e7
to
483d071
Compare
483d071
to
2dfb20c
Compare
https://github.com/trinodb/trino/actions/runs/12404758413/job/34630462973?pr=24418 looks like a unrelated failure. |
Description
Add hive4 query runner and tests. Depends on trinodb/docker-images#218
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.