ajantha-bhat commented on code in PR #13425:
URL: https://github.com/apache/iceberg/pull/13425#discussion_r2184121767
##########
core/src/main/java/org/apache/iceberg/PartitionStats.java:
##########
@@ -109,7 +114,12 @@ public void liveEntry(ContentFile<?> file, Snapshot
snapshot) {
break;
case POSITION_DELETES:
this.positionDeleteRecordCount += file.recordCount();
- this.positionDeleteFileCount += 1;
+ if (file.format() == FileFormat.PUFFIN) {
+ this.dvCount += 1;
+ } else {
+ this.positionDeleteFileCount += 1;
Review Comment:
yes. Record count is under common counter. File count is different counter.
--
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]