klion26 commented on code in PR #9276:
URL: https://github.com/apache/arrow-rs/pull/9276#discussion_r2799656753


##########
parquet-variant-compute/src/shred_variant.rs:
##########
@@ -496,12 +496,12 @@ impl IntoShreddingField for (DataType, bool) {
 /// // Define the shredding schema using the builder
 /// let shredding_type = ShreddedSchemaBuilder::default()
 ///     // store the "time" field as a separate UTC timestamp
-///     .with_path("time", (&DataType::Timestamp(TimeUnit::Nanosecond, 
Some("UTC".into())), true))
+///     .with_path(VariantPath::from_str_or_panic("time"), 
(&DataType::Timestamp(TimeUnit::Nanosecond, Some("UTC".into())), true))

Review Comment:
   Fixed, this's indeed a better way.



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

Reply via email to