| 426 | } |
| 427 | |
| 428 | void DoSchemaRoundTrip(const Schema& schema, std::shared_ptr<Schema>* result) { |
| 429 | ASSERT_OK_AND_ASSIGN(std::shared_ptr<Buffer> serialized_schema, |
| 430 | SerializeSchema(schema, options_.memory_pool)); |
| 431 | |
| 432 | DictionaryMemo in_memo; |
| 433 | io::BufferReader buf_reader(serialized_schema); |
| 434 | ASSERT_OK_AND_ASSIGN(*result, ReadSchema(&buf_reader, &in_memo)); |
| 435 | } |
| 436 | |
| 437 | Result<std::shared_ptr<RecordBatch>> DoStandardRoundTrip( |
| 438 | const RecordBatch& batch, const IpcWriteOptions& options, |
nothing calls this directly
no test coverage detected