This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 891035d773 [#8316] fix(iceberg): add namespace&view&table exists
endpoint for config response (#8315)
891035d773 is described below
commit 891035d773a22ef7562cace75816c1a46494496b
Author: FANNG <[email protected]>
AuthorDate: Thu Aug 28 12:43:51 2025 +0900
[#8316] fix(iceberg): add namespace&view&table exists endpoint for config
response (#8315)
### What changes were proposed in this pull request?
add namespace&view&table exists endpoint for config response
### Why are the changes needed?
Fix: #8316
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
curl http://localhost:9001/iceberg/v1/config to check whether includes
exists endpoints
---
.../apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java
b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java
index 12e31cf333..d4caa2b5a5 100644
---
a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java
+++
b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergConfigOperations.java
@@ -64,12 +64,14 @@ public class IcebergConfigOperations {
.add(Endpoint.V1_CREATE_NAMESPACE)
.add(Endpoint.V1_UPDATE_NAMESPACE)
.add(Endpoint.V1_DELETE_NAMESPACE)
+ .add(Endpoint.V1_NAMESPACE_EXISTS)
.add(Endpoint.V1_LIST_TABLES)
.add(Endpoint.V1_LOAD_TABLE)
.add(Endpoint.V1_CREATE_TABLE)
.add(Endpoint.V1_UPDATE_TABLE)
.add(Endpoint.V1_DELETE_TABLE)
.add(Endpoint.V1_RENAME_TABLE)
+ .add(Endpoint.V1_TABLE_EXISTS)
.add(Endpoint.V1_REGISTER_TABLE)
.add(Endpoint.V1_REPORT_METRICS)
.add(Endpoint.V1_COMMIT_TRANSACTION)
@@ -83,6 +85,7 @@ public class IcebergConfigOperations {
.add(Endpoint.V1_UPDATE_VIEW)
.add(Endpoint.V1_DELETE_VIEW)
.add(Endpoint.V1_RENAME_VIEW)
+ .add(Endpoint.V1_VIEW_EXISTS)
.build();
@Inject