Description
What happened?
We have a Python API that uses the ADBC driver to execute queries against our Java Arrow Flight SQL server. The Python server uses FastAPI + Strawberry, and when we receive a request to execute a query, we spin up a background thread to handle the execution against the AFS server. Multiple threads on the same pod could be executing queries against the AFS server at any given moment.
We recently noticed some issues with hanging queries, and when looking at our DataDog traces, we notice that there is almost a 30 minute difference between the createPreparedStatement
request and the getFlightInfoPreparedStatement
request.
My initial guess is that this could be related to having multiple requests at the same time through the ADBC driver, but I don't have enough context about how the bindings between Go and Python work.
Is there anything that jumps out at you? Is there anything we could do to help debug this? Here's pictures of the traces:
Stack Trace
No response
How can we reproduce the bug?
No response
Environment/Setup
Python 3.12
ADBC FlightSQL driver 1.0.0
ADBC driver manager 1.0.0
Activity