jerryshao commented on code in PR #9481:
URL: https://github.com/apache/gravitino/pull/9481#discussion_r2638568995


##########
core/src/test/java/org/apache/gravitino/catalog/TestManagedTableOperations.java:
##########
@@ -328,13 +328,15 @@ public void testAlterTable() {
     Assertions.assertEquals("table1_renamed", loadedRenamedTable.name());
 
     // Test rename the table to another schema
+    Table renamedTable1 =
+        tableOperations.alterTable(
+            NameIdentifierUtil.ofTable(METALAKE_NAME, CATALOG_NAME, 
SCHEMA_NAME, "table1_renamed"),
+            TableChange.rename("table1_moved", "schema2"));
+

Review Comment:
   This test uses an in-memory entity store, which doesn't need to ensure the 
`schema2` exists. The jdbc entity store will cover this scenario.



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