sfc-gh-twhite opened a new issue, #1047:
URL: https://github.com/apache/arrow-adbc/issues/1047

   I'm using the following libraries to connect to Snowflake with ADBC:
   
   adbc-driver-flightsql==0.6.0
   adbc-driver-manager==0.6.0
   adbc-driver-snowflake==0.6.0
   
   I'm encountering an error in specifying only the conn_kwargs to establish a 
connection. 
   
   ```
   import os
   import adbc_driver_snowflake.dbapi
   from dotenv import load_dotenv
   
   load_dotenv(override=True)
   
   conn = adbc_driver_snowflake.dbapi.connect(conn_kwargs={
       "_".join(k.split("_")[1:]).lower(): v
       for k, v in os.environ.items()
       if k.upper().startswith("SNOWFLAKE")
   })
   ```
   
   I've ensured the parameter isn't somehow duplicated. 
   
   
![image](https://github.com/apache/arrow-adbc/assets/90005851/f05892db-389f-4b44-8f9c-f6fe8076337e)
   
   Could this be from?
   
   
https://github.com/apache/arrow-adbc/blob/a9c381d2203b28558739f99a8e770d6ab6a50b66/python/adbc_driver_snowflake/adbc_driver_snowflake/dbapi.py#L120
   
   This is normally how I setup my connections with the Snowflake Connector for 
Python. 
   
   
![image](https://github.com/apache/arrow-adbc/assets/90005851/315c5fa0-7b0c-4f39-9762-7d56fa8494a8)
   
   
   
   
   


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