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


##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/dispatcher/IcebergTableEventDispatcher.java:
##########
@@ -79,20 +81,28 @@ public LoadTableResponse createTable(
     NameIdentifier nameIdentifier =
         IcebergRestUtils.getGravitinoNameIdentifier(
             metalakeName, context.catalogName(), tableIdentifier);
-    eventBus.dispatchEvent(
-        new IcebergCreateTablePreEvent(context, nameIdentifier, 
createTableRequest));
+    Optional<BaseEvent> transformedEvent =

Review Comment:
   How do you make sure that this `Optional` is never empty?



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