pitrou commented on a change in pull request #11032: URL: https://github.com/apache/arrow/pull/11032#discussion_r728976850
########## File path: cpp/src/arrow/compute/exec/exec_plan.h ########## @@ -407,5 +407,13 @@ std::shared_ptr<RecordBatchReader> MakeGeneratorReader( std::shared_ptr<Schema>, std::function<Future<util::optional<ExecBatch>>()>, MemoryPool*); +constexpr int kDefaultBackgroundMaxQ = 32; +constexpr int kDefaultBackgroundQRestart = 16; + +ARROW_EXPORT +Result<std::function<Future<util::optional<ExecBatch>>()>> MakeReaderGenerator( Review comment: Can you add a docstring here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org