scott-routledge2 commented on code in PR #43698:
URL: https://github.com/apache/arrow/pull/43698#discussion_r2334373952


##########
cpp/src/arrow/dataset/scanner.h:
##########
@@ -459,6 +465,11 @@ class ARROW_DS_EXPORT Scanner {
       TaggedRecordBatchIterator scan);
 
   const std::shared_ptr<ScanOptions> scan_options_;
+
+  ::arrow::internal::Executor* async_cpu_executor() const {
+    return scan_options_->exec_context.executor() ? 
scan_options_->exec_context.executor()
+                                                  : 
::arrow::internal::GetCpuThreadPool();
+  }

Review Comment:
   Ended up removing this function and just moving the logic inside of 
`ScanBatchesUnorderedAsync`and those two other places.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to