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