kou commented on issue #39964:
URL: https://github.com/apache/arrow/issues/39964#issuecomment-1931174136

   > ```cpp
   >     ARROW_RETURN_NOT_OK(arrow_reader->GetRecordBatchReader(&rb_reader));
   > ```
   
   It seems that `rb_reader` doesn't refer `arrow_reader`. So `arrow_reader` is 
invalid out of the function. How about keeping referring `arrow_reader` out of 
the function too?
   
   We may want to improve the current `GetRecordBatchReader()` API for this use 
case.


-- 
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