alamb commented on code in PR #7479:
URL: https://github.com/apache/arrow-rs/pull/7479#discussion_r2078026372


##########
parquet/src/arrow/arrow_reader/mod.rs:
##########
@@ -314,14 +314,19 @@ impl ArrowReaderOptions {
         }
     }
 
-    /// Provide a schema to use when reading the parquet file. If provided it
-    /// takes precedence over the schema inferred from the file or the schema 
defined
-    /// in the file's metadata. If the schema is not compatible with the file's
-    /// schema an error will be returned when constructing the builder.
+    /// Provide a schema to use when reading the Parquet file.
     ///
-    /// This option is only required if you want to cast columns to a 
different type.
-    /// For example, if you wanted to cast from an Int64 in the Parquet file 
to a Timestamp
-    /// in the Arrow schema.
+    /// If provided, this schema takes precedence over the schema inferred from

Review Comment:
   I am not sure what you mean by "authoritative"
   
   What this method does is override any embedded arrow schema hint
   
   I have reworded it - let me know what you think. 



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