lasdf1234 commented on code in PR #11809:
URL: https://github.com/apache/gravitino/pull/11809#discussion_r3497297814


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/dispatcher/IcebergNamespaceHookDispatcher.java:
##########
@@ -183,6 +183,12 @@ public LoadTableResponse registerTable(
       RegisterTableRequest registerTableRequest) {
     LoadTableResponse response = dispatcher.registerTable(context, namespace, 
registerTableRequest);
 
+    if (registerTableRequest.overwrite()) {
+      // overwrite=true updates the Iceberg metadata pointer in place. The 
Gravitino table entity,
+      // table_id, and existing role/owner/tag/policy bindings must be 
preserved.
+      return response;

Review Comment:
   Got resolved.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to