maxfirman opened a new issue, #1559:
URL: https://github.com/apache/arrow-adbc/issues/1559

   ### What would you like help with?
   
   I'm attempting to query Dremio using the ADBC Flight Sql client, however my 
code hangs when attempting to return a result set.
   
   The following code snippet will reproduce the issue:
   
   ```python
   from adbc_driver_flightsql.dbapi import connect
   
   
   with connect(
       uri="grpc://localhost:32010",
       db_kwargs={"username": "dremio", "password": "dremio123"},
   ) as connection:
       with connection.cursor() as cursor:
           cursor.execute("select 1 as foo")
           result = cursor.fetchall()  # <- hangs indefinitely
           print(result)
   ```
   
   I have been testing against a local Dremio instance running in the 
standalone Docker image:
   
   ```
   docker run -p 9047:9047 -p 31010:31010 -p 32010:32010 -p 45678:45678 
dremio/dremio-oss
   ```
   
   Note you will have to create an initial user through the Dremio UI: 
`http://localhost:9047`
   
   Interestingly, I can see that the query is being executed successfully when 
I look at the jobs page in the Dremio UI. However any attempt to subsequently 
retrieve the data using `fetchall`, `fetchone`, `fetch_arrow_table` etc... 
hangs indefinitely.
   
   
   
   


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