etseidl commented on code in PR #6828:
URL: https://github.com/apache/arrow-rs/pull/6828#discussion_r1868304989


##########
parquet/src/file/properties.rs:
##########
@@ -287,15 +287,22 @@ impl WriterProperties {
         self.statistics_truncate_length
     }
 
-    /// Returns `coerce_types` boolean
+    /// Returns whether `coerce_types` is enabled (defaults to `false`).
     ///
     /// Some Arrow types do not have a corresponding Parquet logical type.
     /// Affected Arrow data types include `Date64`, `Timestamp` and `Interval`.
-    /// Writers have the option to coerce these into native Parquet types. Type
-    /// coercion allows for meaningful representations that do not require
-    /// downstream readers to consider the embedded Arrow schema. However, type
+    /// Also, for [`List`] and [`Map`] types, Parquet expects certain schema 
elements

Review Comment:
   Should most of this verbiage move to `set_coerce_types` on the builder? 



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