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

Method DeliverInit

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

Source from the content-addressed store, hash-verified

279 void FinishScanBegin() { fragment_scanner_future_.MarkFinished(fragment_scanner_); }
280
281 Future<> DeliverInit(bool slow) {
282 if (slow) {
283 return SleepABitAsync().Then([this] {
284 FinishInspection();
285 return SleepABitAsync().Then([this] { FinishScanBegin(); });
286 });
287 } else {
288 FinishInspection();
289 FinishScanBegin();
290 return Future<>::MakeFinished();
291 }
292 }
293
294 void DeliverBatchesInOrder(bool slow) {
295 std::ignore = DeliverInit(slow).Then(

Callers

nothing calls this directly

Calls 2

SleepABitAsyncFunction · 0.85
ThenMethod · 0.80

Tested by

no test coverage detected