| 2098 | |
| 2099 | class 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>(); |
nothing calls this directly
no test coverage detected