ajantha-bhat commented on code in PR #1508:
URL: https://github.com/apache/polaris/pull/1508#discussion_r2078904164


##########
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:
   Yes, anything can work. Just doesn't want to leave an impression that it is 
a puffin file. We can create a dummy file as .parquet extension as I shared 
above. It is very minimal code. 



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