lupko opened a new issue, #34731:
URL: https://github.com/apache/arrow/issues/34731

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   `FlightStreamReader.to_reader()` does not release GIL as it creates the 
RecordBatchReader via call to `MakeRecordBatchReader`. 
   
   `MakeRecordBatchReader` waits for first batch of data to arrive before it 
returns the RBR => interpreter will essentially 'stop' until the data is 
available.
   
   Workaround: first call `stream.schema` - this waits for the first batch of 
data while not holding GIL, then follow with `stream.to_reader()`
   
   
   ### Component(s)
   
   FlightRPC, Python


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