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

Method AssertInspect

cpp/src/arrow/dataset/partition_test.cc:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void AssertInspect(const std::vector<std::string>& paths,
87 const std::vector<std::shared_ptr<Field>>& expected) {
88 ASSERT_OK_AND_ASSIGN(auto actual, factory_->Inspect(paths));
89 ASSERT_EQ(*actual, Schema(expected));
90 ASSERT_OK_AND_ASSIGN(partitioning_, factory_->Finish(actual));
91 }
92
93 void AssertPartition(const std::shared_ptr<Partitioning> partitioning,
94 const std::shared_ptr<RecordBatch> full_batch,

Callers

nothing calls this directly

Calls 3

ASSERT_OK_AND_ASSIGNFunction · 0.70
SchemaClass · 0.50
FinishMethod · 0.45

Tested by

no test coverage detected