Skip to content

Querying through Python ADBC hangs forever #178

@vogelsgesang

Description

@vogelsgesang

I tried using this extension through ADBC from Python, using the following script

import adbc_driver_flightsql.dbapi as flight_sql

with flight_sql.connect(uri="grpc://localhost:15432",
                        db_kwargs={"username": "avogelsgesang",
                                   "adbc.flight.sql.rpc.call_header.x-flight-sql-database": "avogelsgesang"
                                   }
                        ) as conn:
   with conn.cursor() as cur:
       cur.execute("SELECT 42;")
       x = cur.fetch_arrow_table()
       print(x)

Observed behavior: The script is hanging forever

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions