comphead commented on code in PR #7776:
URL: https://github.com/apache/datafusion-comet/pull/7776#discussion_r4743963464
##########
native/proto/src/proto/operator.proto:
##########
@@ -835,6 +835,9 @@ message IcebergParquetWriteSettings {
// String written into parquet file metadata. JVM-side default is
// `"Apache Iceberg <ver> (Comet)"`.
string created_by = 7;
+ // `parquet.columnindex.truncate.length` from the table or write properties
(default 64, as in
+ // iceberg-java's ParquetWriter). Always positive: parquet-rs has no zero
length.
+ uint32 column_index_truncate_length = 8;
Review Comment:
https://github.com/apache/datafusion-comet/pull/7775 adds field number 8
(`dictionary_enabled`) to this same message, and `git merge-tree` on the two
heads conflicts in `operator.proto`, `iceberg_write.rs`,
`CometIcebergNativeWrite.scala`, `IcebergWriteProtoTranslation.scala`,
`iceberg.md` and two test suites. Whichever lands second has to renumber its
field. Typed fields fit the existing message and the JVM gate has to vet each
value anyway, so a generic key/value map would not remove the vetting. The two
PRs also edit the same `gated` set in the parquet-mr key classification test in
`CometIcebergWriteActionSuite` (this PR keeps `parquet.enable.dictionary` in
`gated`, the other moves it to a new `translated` set), so the second one to
land has to reconcile that as well. Please agree the order with the author of
that PR.
--
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]