westonpace commented on code in PR #13035:
URL: https://github.com/apache/arrow/pull/13035#discussion_r862135947
##########
python/pyarrow/includes/libarrow.pxd:
##########
@@ -81,6 +81,11 @@ cdef extern from "arrow/config.h" namespace "arrow" nogil:
CRuntimeInfo GetRuntimeInfo()
+cdef extern from "arrow/util/future.h" namespace "arrow" nogil:
+ cdef cppclass CFuture_Void" arrow::Future<>":
+ CStatus status()
Review Comment:
Surprising we've made it this far without exposing `Future`. I wonder if we
want to add a `WaitForFinish` method on ExecPlan instead of exposing `Future`
(essentially a sync mirror-api) like we do in the `Scanner`.
I don't really have any problems with this approach though. Just making an
observation.
--
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]