zeroshade commented on code in PR #40807: URL: https://github.com/apache/arrow/pull/40807#discussion_r1553855438
########## cpp/src/arrow/c/bridge.cc: ########## @@ -2041,6 +2041,19 @@ Status ExportStreamNext(const std::shared_ptr<RecordBatchReader>& src, int64_t i } } +Status ExportDeviceStreamNext(const std::shared_ptr<RecordBatchReader>& src, int64_t, Review Comment: It's in the signature so that we can leverage overloading instead of having to add `if constexpr` checks to pass the `int64_t` or not depending on whether we're using a `RecordBatchReader` or ` ChunkedArray`. Removing it from the signature would prevent being able to use the overloading. -- 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]
