Specifies if validation should be skipped when reading data (defaults to `false`) Note this API is somewhat "funky" as it allows the caller to skip validation without having to use `unsafe` code. If this is ever made public it should be made clearer that this is a potentially unsafe by using an `unsafe` function that takes a boolean flag. # Safety Relies on the caller only passing a flag with `
(mut self, skip_validation: UnsafeFlag)
| 540 | /// Relies on the caller only passing a flag with `true` value if they are |
| 541 | /// certain that the data is valid |
| 542 | pub(crate) fn with_skip_validation(mut self, skip_validation: UnsafeFlag) -> Self { |
| 543 | self.skip_validation = skip_validation; |
| 544 | self |
| 545 | } |
| 546 | |
| 547 | /// Read the record batch, consuming the reader |
| 548 | fn read_record_batch(mut self) -> Result<RecordBatch, ArrowError> { |
no test coverage detected