HIVE-29019: Test Hive Iceberg REST Catalog with the compatibility kit - #5887
Conversation
| private RESTResponse dropNamespace(Map<String, String> vars) { | ||
| if (asNamespaceCatalog != null) { | ||
| CatalogHandlers.dropNamespace(asNamespaceCatalog, namespaceFromPathVars(vars)); | ||
| return null; |
605fc5e to
afdf7ac
Compare
| class TestRESTCatalogTestsAuthJwt extends BaseRESTCatalogTests { | ||
| @RegisterExtension | ||
| private static final HiveRESTCatalogServerExtension REST_CATALOG_EXTENSION = HiveRESTCatalogServerExtension.builder() | ||
| .jwt().build(); |
There was a problem hiding this comment.
We may potentially parameterize test classes. I'm currently separating classes because each needs a different setup of HMS, and each has different patterns of authentication errors. I'm not confident and open to this point.
|
The overview after we add View support will be as follows. |
|
btw, i've noticed that we are missing a few APIs in HMSCatalogAdapter:
oh, I see you've already fixed that in #5887 (comment) 👍 |
I think so. Regression tests will unblock many feature developments, including caching.
There is a small trick here. When |
|
|
CI is green. @deniskuzZ Thanks for reviewing this pull request! |



What changes were proposed in this pull request?
Test the Iceberg REST API with CatalogTests with RESTCatalog.
https://issues.apache.org/jira/browse/HIVE-29019
Why are the changes needed?
For better test coverage.
Does this PR introduce any user-facing change?
No. This feature has not been shipped.
How was this patch tested?