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

Function SetProjection

cpp/src/arrow/dataset/scanner.cc:880–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878}
879
880void SetProjection(ScanOptions* options, ProjectionDescr projection) {
881 options->projection = std::move(projection.expression);
882 options->projected_schema = std::move(projection.schema);
883}
884
885ScannerBuilder::ScannerBuilder(std::shared_ptr<Dataset> dataset)
886 : ScannerBuilder(std::move(dataset), std::make_shared<ScanOptions>()) {}

Calls

no outgoing calls