smaheshwar-pltr commented on code in PR #19309:
URL: https://github.com/apache/iceberg/pull/19309#discussion_r4803320482
##########
core/src/main/java/org/apache/iceberg/puffin/Puffin.java:
##########
@@ -79,8 +80,15 @@ public WriteBuilder compressBlobs(PuffinCompressionCodec
compression) {
return this;
}
+ /** Overwrite the file if it already exists. By default, overwrite is
disabled. */
+ public WriteBuilder overwrite() {
Review Comment:
(Same API shape as other write builders + off by default, see
[InternalData.WriteBuilder](https://github.com/apache/iceberg/blob/56c11c953d28c0547a058635babebefddfc26dcb/core/src/main/java/org/apache/iceberg/InternalData.java#L164-L165)
and
[Avro.WriteBuilder](https://github.com/apache/iceberg/blob/56c11c953d28c0547a058635babebefddfc26dcb/core/src/main/java/org/apache/iceberg/avro/Avro.java#L175-L183).
I'm also taking this Javadoc from
[`FileWriterBuilder.overwrite()`](https://github.com/apache/iceberg/blob/56c11c953d28c0547a058635babebefddfc26dcb/core/src/main/java/org/apache/iceberg/formats/FileWriterBuilder.java#L100-L101)).
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]