alihan-synnada commented on code in PR #13250:
URL: https://github.com/apache/datafusion/pull/13250#discussion_r1828832760


##########
datafusion/common/src/config.rs:
##########
@@ -1773,7 +1773,7 @@ config_namespace! {
     /// Options controlling JSON format
     pub struct JsonOptions {
         pub compression: CompressionTypeVariant, default = 
CompressionTypeVariant::UNCOMPRESSED
-        pub schema_infer_max_rec: usize, default = 100
+        pub schema_infer_max_rec: Option<usize>, default = None

Review Comment:
   I did change both `CsvOptions::schema_infer_max_rec` and 
`JsonOptions::schema_infer_max_rec` so they are consistent. I think the PR body 
was confusing because of the 2nd change (lifetimes) mentioning CSV. I'll 
rephrase the 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]

Reply via email to