adutra commented on code in PR #3734:
URL: https://github.com/apache/polaris/pull/3734#discussion_r3274815356


##########
integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisRestCatalogIntegrationBase.java:
##########
@@ -935,6 +1020,62 @@ public void testRegisterAndLoadTableWithReturnedETag() {
     }
   }
 
+  /**
+   * Build an Iceberg table, then invoke a subsequent register table call that 
overwrites the
+   * existing table metadata. Verifies that the overwrite is applied and the 
catalog reflects the
+   * updated metadata.
+   */
+  @Test
+  public void testRegisterTableOverwriteViaRest() {
+    Namespace ns = Namespace.of("ns_overwrite_rest");
+    restCatalog.createNamespace(ns);
+
+    // Create a source table and capture its metadata location
+    Table source = restCatalog.buildTable(TableIdentifier.of(ns, 
"source_table"), SCHEMA).create();

Review Comment:
   This code wasn't added in this PR but I'll add the test in #4506 



-- 
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