no23reason commented on code in PR #48082:
URL: https://github.com/apache/arrow/pull/48082#discussion_r2509372051


##########
cpp/src/arrow/flight/server.cc:
##########
@@ -317,8 +312,7 @@ class RecordBatchStream::RecordBatchStreamImpl {
         return Status::OK();
       }
       if (!writer_) {
-        return Status::UnknownError(
-            "Writer should be initialized before reading Next batches");
+        RETURN_NOT_OK(InitializeWriter());

Review Comment:
   Thank you for the suggestion, that is a good idea. I will take a look as 
soon as I can, unfortunately something more urgent cropped up I have to deal 
with first :( I will let you know what I find out



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