| 465 | } |
| 466 | |
| 467 | void CheckReadResult(const RecordBatch& result, const RecordBatch& expected) { |
| 468 | ASSERT_OK(result.ValidateFull()); |
| 469 | EXPECT_EQ(expected.num_rows(), result.num_rows()); |
| 470 | |
| 471 | ASSERT_TRUE(expected.schema()->Equals(*result.schema())); |
| 472 | ASSERT_EQ(expected.num_columns(), result.num_columns()) |
| 473 | << expected.schema()->ToString() << " result: " << result.schema()->ToString(); |
| 474 | |
| 475 | CompareBatchColumnsDetailed(result, expected); |
| 476 | } |
| 477 | |
| 478 | void CheckRoundtrip(const RecordBatch& batch, |
| 479 | IpcWriteOptions options = IpcWriteOptions::Defaults(), |
nothing calls this directly
no test coverage detected