PiyushHurpadeDremio commented on a change in pull request #2182:
URL: https://github.com/apache/iceberg/pull/2182#discussion_r567853904
##########
File path: core/src/main/java/org/apache/iceberg/SnapshotProducer.java
##########
@@ -150,6 +153,44 @@ protected void validate(TableMetadata currentMetadata) {
*/
protected abstract List<ManifestFile> apply(TableMetadata metadataToUpdate);
+ /**
+ Implementation of this method update stats for each partition and
+ returns Map which defines partition specification for which udpates happen
+ Map Key: Partition Specification Id Map Value: New location of partition
Stats file
+ */
+ protected Map<Integer, String> updatePartitionStats() {
Review comment:
Defined this method as "abstract". Any implementation of
updatePartitionStats method in SnapshotProducer.java which does not want to
updated stats. needs to return empty map.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]