dramaticlly commented on PR #6797:
URL: https://github.com/apache/iceberg/pull/6797#issuecomment-1426546586

   > Hi @dramaticlly , looking briefly through this code. It seems we get 
added-files via snapshot summary so it seems ok to get it this way for 
changed-partitions.
   > 
   > I'm a bit confused though, it seems it only sets if changed partitions <= 
write.summary.partition-limit, whose default is 0. Does it usually set in your 
case? Ref: 
https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/SnapshotSummary.java#L194
   > 
   > I havent walked through the code though, so I could be wrong.
   
   thank you @szehon-ho for the quick review. I believe what you linked line 
194 is not for partition changed count, the [line 
192](https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/SnapshotSummary.java#L192)
 is what matters, is only check if `trustPartitionMetrics` is evaluated to 
true. The `trustPartitionMetrics` is default to true in builder, only set to 
false when manifests get added per 
https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/SnapshotSummary.java#L142.


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