thisisnic opened a new issue, #51660:
URL: https://github.com/apache/arrow/issues/51660

   ### Describe the enhancement requested
   
   Arrow C++ 26.0.0 adds two new `arrow::csv::ParseOptions` fields:
   
   - `ignore_extra_columns` (#51118): rows with more columns than expected have 
the extra columns dropped instead of erroring.
   - `pad_short_rows` (#50926): rows with fewer columns than expected are 
padded with nulls instead of erroring.
   
   Neither can be set from R. `csv_parse_options()` and 
`CsvParseOptions$create()` should accept both, and `csv.cpp` should pass them 
through:
   
   
https://github.com/apache/arrow/blob/9479e686b9fca57f5ce90db704c5eccf3d5a0d48/r/R/csv.R#L735-L753
   
https://github.com/apache/arrow/blob/9479e686b9fca57f5ce90db704c5eccf3d5a0d48/r/src/csv.cpp#L64-L72
   
   ### Component(s)
   
   R
   


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