alamb commented on code in PR #1539:
URL: https://github.com/apache/arrow-rs/pull/1539#discussion_r847756234
##########
arrow/src/json/reader.rs:
##########
@@ -1606,26 +1607,8 @@ pub struct ReaderBuilder {
///
/// If a number is not provided, all the records are read.
max_records: Option<usize>,
- /// Batch size (number of records to load each time)
- ///
- /// The default batch size when using the `ReaderBuilder` is 1024 records
- batch_size: usize,
- /// Optional projection for which columns to load (zero-based column
indices)
- projection: Option<Vec<String>>,
- /// optional HashMap of column names to format strings
- format_strings: Option<HashMap<String, String>>,
-}
-
-impl Default for ReaderBuilder {
- fn default() -> Self {
- Self {
- schema: None,
- max_records: None,
- batch_size: 1024,
Review Comment:
this default is moved into `DecoderOptions`
--
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]