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

Method SetUp

cpp/src/arrow/dataset/scanner_test.cc:2100–2113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2098
2099class TestScannerBuilder : public ::testing::Test {
2100 void SetUp() override {
2101 DatasetVector sources;
2102
2103 schema_ = schema({
2104 field("b", boolean()),
2105 field("i8", int8()),
2106 field("i16", int16()),
2107 field("i32", int32()),
2108 field("i64", int64()),
2109 field("nested", struct_({field("str", utf8())})),
2110 });
2111
2112 ASSERT_OK_AND_ASSIGN(dataset_, UnionDataset::Make(schema_, sources));
2113 }
2114
2115 protected:
2116 std::shared_ptr<ScanOptions> options_ = std::make_shared<ScanOptions>();

Callers

nothing calls this directly

Calls 5

struct_Function · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.70
schemaFunction · 0.50
fieldFunction · 0.50
MakeFunction · 0.50

Tested by

no test coverage detected