dramaticlly commented on code in PR #11929:
URL: https://github.com/apache/iceberg/pull/11929#discussion_r1907943810


##########
core/src/main/java/org/apache/iceberg/RewriteTablePathUtil.java:
##########
@@ -126,8 +126,7 @@ public static TableMetadata replacePaths(
         metadata.snapshotLog(),
         metadataLogEntries,
         metadata.refs(),
-        // TODO: update statistic file paths
-        metadata.statisticsFiles(),
+        updatePathInStatisticsFiles(metadata.statisticsFiles(), sourcePrefix, 
targetPrefix),
         metadata.partitionStatisticsFiles(),

Review Comment:
   sounds good, I added precondition check and TODO comments for partition stats



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