-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BQ Error in getTableNames on DatabaseConnector inside CohortDiagnostic package #5
Comments
DatabaseConnector is simply calling getMetaData() and subsequently getTables() on the JDBC connection. This works fine on the BigQuery testing instance I have, so perhaps your admin needs to adjust some security settings? |
@jdposada The message "VPC Service Controls: Request is prohibited by organization's policy. " says that your environment is not able to connect to GCP BQ dataset. You may need VPN connection or do execution inside VPC network/environment. |
Hi @schuemie, Thank you for your prompt answer. Unfortunately, I am not the owner of the project so I cannot adjust my permissions to the cdmDataset. Thank you for that valuable info. Knowing that the functions are working in your BQ environment is a great relief. I did not even know that you had one. What an awesome thing! Hi @konstjar , I have executed everything up to this point, including cohort creation, incidence rates, cohort overlap, etc.... so I do have permission to read and retrieve data from the dataset. Which kind of permissions
In any case. if VPC were a big issue I could not even run the study up to this point unless the functions mentioned above need a special set of permissions like BQ Data Owner, which may be the case. Could you confirm? Thanks Jose |
The issue was solved by granting more powerful role. I will create a description for DatabaseConnector repo about BigQuery Roles required. |
Thought the issue was solved. Even with elevated permission I still see the same issue. |
@jdposada did you find a solution? |
I did find a solution. It was having a service account with limited access to the datasets you are going to use. |
Hi,
When running the package it looks like it is trying to access a BQ public dataset which is very strange
Thank you for all your help. @schuemie @jennifercelane
This is the output from the console
This is the full errorReport.txt
The text was updated successfully, but these errors were encountered: