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

   Hi, I was trying to play around with the Python ADBC driver for FlightSQL to 
see if I could connect to a service we're building. Our service requires some 
custom headers, but when I try to set them it breaks.
   
   Example code:
   
   ```
   from adbc_driver_flightsql.dbapi import connect
   
   
   def main():
       conn = connect(
           "grpc://localhost:9876",
           conn_kwargs={
               "adbc.flight.sql.rpc.call_header.customheader": "1",
           },
       )
       cur = conn.cursor()
       cur.execute("select * from table")
       print(cur.fetch_arrow_table())
   
   
   main()
   ```
   
   error:
   ```
   panic: interface conversion: interface is nil, not adbc.PostInitOptions
   
   goroutine 17 [running, locked to thread]:
   main.FlightSQLConnectionSetOption(0x1004537f8, 0x0?, 0x100453701?, 
0x14000002680?)
           
/Users/runner/work/arrow-adbc/arrow-adbc/adbc/go/adbc/pkg/flightsql/driver.go:249
 +0x70
   ```
   
   I don't have much experience with go, much less with Python bindings on top 
of go, so I don't know how to even start debugging this. Any help would be 
greatly appreciated!


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