You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lupko (via GitHub)" <gi...@apache.org> on 2023/03/26 12:14:12 UTC
[GitHub] [arrow] lupko opened a new issue, #34731: [Python] FlightStreamReader does not release GIL in to_reader() method
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] lidavidm closed issue #34731: [Python] MetadataRecordBatchReader does not release GIL in to_reader() method
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #34731: [Python] MetadataRecordBatchReader does not release GIL in to_reader() method
URL: https://github.com/apache/arrow/issues/34731
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org