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

   **Config:**
   * Windows
   * `python=3.11.7`
   * `pandas=2.2.0`
   * `adbc-driver-manager=0.9.0`
   * `adbc-driver-postgresql=0.9.0`
   * `pyarrow=15.0.0`
   
   ---
   
   Program exits silently (no exceptions raised) on 
`adbc_driver_postgresql.dbapi.connect(uri)`.
   
   ```python
   import adbc_driver_postgresql.dbapi
   
   uri = (
       'postgresql://' +
       f'{config["USERNAME"]}:' +
       f'{config["PASSWORD"]}@' +
       f'{config["HOST"]}:' +
       '5432/' +
       f'{config["DB_NAME"]}'
   )
   
   with adbc_driver_postgresql.dbapi.connect(uri) as conn:  # program exits 
silently here
      pass
   ```
   
   ---
   
   **Debugging**
   * Validated database can be connected to with:
   
   ```python
   import sqlalchemy
   
   uri = (
       'postgresql://' +
       f'{config["USERNAME"]}:' +
       f'{config["PASSWORD"]}@' +
       f'{config["HOST"]}:' +
       '5432/' +
       f'{config["DB_NAME"]}'
   )
   
   engine = sqlalchemy.create_engine(uri)
   
   with engine.connect() as conn:
       pass
   ```
   


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