raghuvanshraj commented on code in PR #3699:
URL: https://github.com/apache/iceberg-rust/pull/3699#discussion_r4628668689


##########
crates/iceberg/Cargo.toml:
##########
@@ -71,6 +71,7 @@ parquet = { workspace = true, features = [
   "encryption",
   "arrow_canonical_extension_types",
   "geospatial",
+  "variant_experimental",

Review Comment:
   Agreed, the feature leaks. I dropped it: the writer now builds the Parquet 
schema with ArrowSchemaConverter and sets LogicalType::variant(Some(1)) on each 
group whose Arrow field carries arrow.parquet.variant, then hands it to the 
writer via ArrowWriterOptions::with_parquet_schema. Leaves are untouched. A 
side effect is that we now write specification_version = 1, which parquet 60 
does not, so the Spark 4.1 gap in the description is gone. 
parquet-variant-compute stays only as a dev-dependency for the test helpers.



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

Reply via email to