jerryshao commented on code in PR #9467:
URL: https://github.com/apache/gravitino/pull/9467#discussion_r2613356799
##########
core/src/test/java/org/apache/gravitino/utils/TestNameIdentifierUtil.java:
##########
@@ -197,4 +197,152 @@ void testOfRole() {
Assertions.assertThrows(
IllegalArgumentException.class, () -> NameIdentifierUtil.ofRole(null,
roleName));
}
+
+ @Test
+ void testBuildNameIdentifier() {
+ String metalake = "my_metalake";
+ String catalog = "my_catalog";
+ String schema = "my_schema";
+ String tableName = "users";
+ String columnName = "id";
+ String userName = "john_doe";
+
+ // Test 1: Build a METALAKE identifier
+ java.util.Map<Entity.EntityType, String> metalakeEntities = new
java.util.HashMap<>();
Review Comment:
Also here.
--
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]