rdblue commented on code in PR #6246:
URL: https://github.com/apache/iceberg/pull/6246#discussion_r1044915674


##########
core/src/main/java/org/apache/iceberg/SnapshotProducer.java:
##########
@@ -436,6 +463,21 @@ private void notifyListeners() {
       Object event = updateEvent();
       if (event != null) {
         Listeners.notifyAll(event);
+
+        if (event instanceof CreateSnapshotEvent) {
+          CreateSnapshotEvent createSnapshotEvent = (CreateSnapshotEvent) 
event;
+
+          reporter.report(
+              ImmutableSnapshotReport.builder()
+                  .tableName(createSnapshotEvent.tableName())

Review Comment:
   Should we start adding table UUID as well? (Not urgent, just occurred to me)



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to