| 431 | } |
| 432 | |
| 433 | Result<std::shared_ptr<RecordBatch>> DoStandardRoundTrip( |
| 434 | const RecordBatch& batch, const IpcWriteOptions& options, |
| 435 | DictionaryMemo* dictionary_memo, |
| 436 | const IpcReadOptions& read_options = IpcReadOptions::Defaults()) { |
| 437 | ARROW_ASSIGN_OR_RAISE(std::shared_ptr<Buffer> serialized_batch, |
| 438 | SerializeRecordBatch(batch, options)); |
| 439 | |
| 440 | io::BufferReader buf_reader(serialized_batch); |
| 441 | return ReadRecordBatch(batch.schema(), dictionary_memo, read_options, &buf_reader); |
| 442 | } |
| 443 | |
| 444 | Result<std::shared_ptr<RecordBatch>> DoLargeRoundTrip(const RecordBatch& batch, |
| 445 | bool zero_data) { |
nothing calls this directly
no test coverage detected