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

Function dataset___Scanner__head

r/src/dataset.cpp:523–527  ·  view source on GitHub ↗

[[dataset::export]]

Source from the content-addressed store, hash-verified

521
522// [[dataset::export]]
523std::shared_ptr<arrow::Table> dataset___Scanner__head(
524 const std::shared_ptr<ds::Scanner>& scanner, int n) {
525 // TODO: make this a full Slice with offset > 0
526 return ValueOrStop(scanner->Head(n));
527}
528
529// [[dataset::export]]
530std::shared_ptr<arrow::Schema> dataset___Scanner__schema(

Callers 1

Calls 2

ValueOrStopFunction · 0.85
HeadMethod · 0.80

Tested by

no test coverage detected