hcrosse commented on code in PR #15700:
URL: https://github.com/apache/iceberg/pull/15700#discussion_r3082556100
##########
parquet/src/main/java/org/apache/iceberg/parquet/Parquet.java:
##########
@@ -266,6 +268,7 @@ public WriteBuilder overwrite(boolean enabled) {
}
public WriteBuilder writerVersion(WriterVersion version) {
+ Preconditions.checkNotNull(version, "Writer version cannot be null");
this.writerVersion = version;
Review Comment:
Done. `writerVersion(WriterVersion)` now writes to the config map via
`Context.fromWriterVersion()` and the `writerVersion` field is removed from the
builder. Added a reverse-order test to document the last-write-wins semantics.
--
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]