eric-maynard commented on code in PR #1508:
URL: https://github.com/apache/polaris/pull/1508#discussion_r2078135882


##########
quarkus/service/src/test/java/org/apache/polaris/service/quarkus/task/TaskTestUtils.java:
##########
@@ -161,4 +179,26 @@ public static StatisticsFile writeStatsFile(
           
puffinWriter.writtenBlobsMetadata().stream().map(GenericBlobMetadata::from).toList());
     }
   }
+
+  public static PartitionStatisticsFile writePartitionStatsFile(
+      long snapshotId, long snapshotSequenceNumber, String statsLocation, 
FileIO fileIO)
+      throws IOException {
+
+    try (PuffinWriter puffinWriter = 
Puffin.write(fileIO.newOutputFile(statsLocation)).build()) {

Review Comment:
   From reading the test, it looks like anything can work so long as it's 
picked up by `TableMetadata::partitionStatisticsFiles`, is that right?



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

Reply via email to