sumeetgajjar commented on code in PR #5893:
URL: https://github.com/apache/iceberg/pull/5893#discussion_r989746546


##########
core/src/main/java/org/apache/iceberg/ManifestFiles.java:
##########
@@ -141,7 +141,24 @@ public static ManifestReader<DataFile> read(
    * @return a manifest writer
    */
   public static ManifestWriter<DataFile> write(PartitionSpec spec, OutputFile 
outputFile) {
-    return write(1, spec, outputFile, null);
+    return write(spec, outputFile, /* compressionCodec */ null, /* 
compressionLevel */ null);
+  }
+
+  /**
+   * Create a new {@link ManifestWriter}.
+   *
+   * <p>Manifests created by this writer have all entry snapshot IDs set to 
null. All entries will
+   * inherit the snapshot ID that will be assigned to the manifest on commit.
+   *
+   * @param spec {@link PartitionSpec} used to produce {@link DataFile} 
partition tuples
+   * @param outputFile the destination file location
+   * @param compressionCodec compression codec for the manifest file
+   * @param compressionLevel compression level of the compressionCodec
+   * @return a manifest writer
+   */
+  public static ManifestWriter<DataFile> write(

Review Comment:
   Removed the method altogether due to the reason stated above.



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