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

Method BatchSize

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

Source from the content-addressed store, hash-verified

954}
955
956Status ScannerBuilder::BatchSize(int64_t batch_size) {
957 if (batch_size <= 0) {
958 return Status::Invalid("BatchSize must be greater than 0, got ", batch_size);
959 }
960 scan_options_->batch_size = batch_size;
961 return Status::OK();
962}
963
964Status ScannerBuilder::BatchReadahead(int32_t batch_readahead) {
965 if (batch_readahead < 0) {

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by 1