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

   ### What feature or improvement would you like to see?
   
   The ADBC driver uses the Read API to make requests to BigQuery. That 
requires `roles/bigquery.readSessionUser`.
   
   If the user lacks the permission, BigQuery errors with `require storage read 
API to be enabled`, which is imprecise, since it [is enabled for all projects 
where the Storage API is 
enabled](https://cloud.google.com/bigquery/docs/reference/storage#enabling_the_api).
   
   I suggest we catch this 403 and return a better error like "You're 
credentials lack permissions for the Read API. Assign 
`roles/bigquery.readSessionUser` and try again."
   
   <img width="3016" height="1728" alt="Image" 
src="https://github.com/user-attachments/assets/4e1e3695-a3f8-4d9a-b9c2-a4b01538b046";
 />


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