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

   ### What happened?
   
   This may be chalked up to BigQuery being BigQuery but if you specify a 
project ID and use any characters they don't allow, you get a misleading error,
   
   ```
   adbc_driver_manager.ProgrammingError: INVALID_ARGUMENT: [bq] Could not 
create session: 400 Bad Request: The project example has not enabled BigQuery.
   ```
   
   With 1.8.0, I can reproduce this with,
   
   ```python
   with dbapi.connect(
       driver="bigquery",
       db_kwargs={
           "adbc.bigquery.sql.project_id": "example_"
       }
   ```
   
   and resolve it by removing the `_`:
   
   
   ```python
   with dbapi.connect(
       driver="bigquery",
       db_kwargs={
           "adbc.bigquery.sql.project_id": "example"
       }
   ```
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


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