singhpk234 commented on code in PR #4660:
URL: https://github.com/apache/iceberg/pull/4660#discussion_r860896131
##########
core/src/main/java/org/apache/iceberg/SnapshotSummary.java:
##########
@@ -181,14 +181,14 @@ public Map<String, String> build() {
builder.putAll(properties);
metrics.addTo(builder);
- setIf(deletedDuplicateFiles > 0, builder, DELETED_DUPLICATE_FILES,
deletedDuplicateFiles);
+ SnapshotSummary.set(builder, DELETED_DUPLICATE_FILES,
deletedDuplicateFiles);
Review Comment:
[minor] can call set here as we are in same class `SnapshotSummary`
```suggestion
set(builder, DELETED_DUPLICATE_FILES, deletedDuplicateFiles);
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]