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


##########
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();

Review Comment:
   Could you reuse `PrincipalUtils.getCurrentUserName`?



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