jerqi commented on code in PR #8857:
URL: https://github.com/apache/gravitino/pull/8857#discussion_r2450696716


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/dispatcher/IcebergTableOperationExecutor.java:
##########
@@ -41,6 +50,33 @@ public 
IcebergTableOperationExecutor(IcebergCatalogWrapperManager icebergCatalog
   @Override
   public LoadTableResponse createTable(
       IcebergRequestContext context, Namespace namespace, CreateTableRequest 
createTableRequest) {
+    String authenticatedUser = context.userName();
+    if (StringUtils.isNotBlank(authenticatedUser)

Review Comment:
   The authenticatoedUser won't be blank. If the user is blank, the 
authenticator will fill this by using anoymous. We can remove this condition to 
simplify the code.



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