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

Method ControlledDataset

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

Source from the content-addressed store, hash-verified

1737class ControlledDataset : public Dataset {
1738 public:
1739 explicit ControlledDataset(int num_fragments)
1740 : Dataset(arrow::schema({field("i32", int32())})), fragments_() {
1741 for (int i = 0; i < num_fragments; i++) {
1742 fragments_.push_back(std::make_shared<ControlledFragment>(schema_));
1743 }
1744 }
1745
1746 std::string type_name() const override { return "scanner_test.cc::ControlledDataset"; }
1747 Result<std::shared_ptr<Dataset>> ReplaceSchema(

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
schemaFunction · 0.50
fieldFunction · 0.50

Tested by

no test coverage detected