Hi -- I'm trying to connect to BigQuery as a foreign catalog. I'm able to create and successfully test the connection, but when I create a foreign catalog it appears empty, and queries against that catalog return a "TABLE_OR_VIEW_NOT_FOUND" error.
The BQ instance is owned by a vendor, I'm using a service account that's specifically for data sharing. Our permissions are limited, but we do have the DataViewer role, and I can execute queries just fine using other tools (eg, the BQ Python Client) with the same service account.
Some information that may be relevant based on what I've tried so far:
The project that owns our service account, and is specified in the service account JSON, is different from the project with the bigquery data. Creating a Databricks "Connection" succeeds when I leave the "project" field blank or provide the SA project, if I provide the BQ project it fails (we don't have permission to create jobs in that project).
I've tried creating the foreign catalog with the BQ project, SA project, no project, combinations, including region, escaped and unescaped, and garbage names. The catalog creation always succeeds, and the only time we get an error here is when the project name contains an invalid character. In all other cases, the error we get running a query is the same, "table or view not found".
I noticed that we don't have access to the INFORMATION_SCHEMA tables for our dataset/region. This isn't an issue to query the tables we do have access to, but may affect the catalog integration part? I would hope this isn't a hard blocker on any query against any table.
I'll also note that we're still in the trial period with our Databricks account. Hoping to validate that this connection is possible, since managing access across clouds is a big pain point!
Thanks,
--Matt