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


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/MetadataIdConverter.java:
##########
@@ -76,6 +77,8 @@ public static Long getID(MetadataObject metadataObject, 
String metalake) {
       entity =
           entityStore.get(
               normalizedIdent, entityType, 
EntityClassMapper.getEntityClass(entityType));
+    } catch (NoSuchEntityException nse) {
+      return null;

Review Comment:
   I don't like returning null, can you figure out a better solution?



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