Posnet commented on code in PR #5679:
URL: https://github.com/apache/arrow-rs/pull/5679#discussion_r1591619911
##########
arrow-csv/src/reader/records.rs:
##########
@@ -172,6 +188,11 @@ impl RecordDecoder {
self.num_rows = 0;
}
+ /// Sets the decoder to allow rows with less than the expected number
columns
+ pub fn set_allow_truncated_rows(&mut self, allow: bool) {
+ self.allow_truncated_rows = allow;
+ }
Review Comment:
Makes sense it isn't on Docs.rs, but it was marked pub so I wasn't sure.
I've made this change as a second commit in case it needs to be removed.
--
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]