diqiu50 commented on code in PR #11292:
URL: https://github.com/apache/gravitino/pull/11292#discussion_r3432745784
##########
catalogs/catalog-hive/src/test/java/org/apache/gravitino/catalog/hive/TestHiveTable.java:
##########
@@ -576,6 +576,51 @@ public void testAlterHiveTable() {
Assertions.assertArrayEquals(createdTable.partitioning(),
alteredTable.partitioning());
}
+ @Test
+ public void testCrossSchemaRename() {
+ // Create a second schema to serve as the destination for the cross-schema
rename
+ String newSchemaName = HIVE_SCHEMA_NAME + "_new";
+ NameIdentifier newSchemaIdent =
+ NameIdentifier.of(META_LAKE_NAME, HIVE_CATALOG_NAME, newSchemaName);
+ hiveCatalogOperations.createSchema(newSchemaIdent, HIVE_COMMENT,
Maps.newHashMap());
Review Comment:
You need to drop `newSchemaIdent` in `@AfterEach`
--
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]