MCPcopy Create free account
hub / github.com/apache/arrow / CheckReadResult

Method CheckReadResult

cpp/src/arrow/ipc/read_write_test.cc:471–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469 }
470
471 void CheckReadResult(const RecordBatch& result, const RecordBatch& expected) {
472 ASSERT_OK(result.ValidateFull());
473 EXPECT_EQ(expected.num_rows(), result.num_rows());
474
475 ASSERT_TRUE(expected.schema()->Equals(*result.schema()));
476 ASSERT_EQ(expected.num_columns(), result.num_columns())
477 << expected.schema()->ToString() << " result: " << result.schema()->ToString();
478
479 CompareBatchColumnsDetailed(result, expected);
480 }
481
482 void CheckRoundtrip(const RecordBatch& batch,
483 IpcWriteOptions options = IpcWriteOptions::Defaults(),

Callers

nothing calls this directly

Calls 7

ValidateFullMethod · 0.45
num_rowsMethod · 0.45
EqualsMethod · 0.45
schemaMethod · 0.45
num_columnsMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected