goccy / bigquery-emulator

BigQuery emulator server implemented in Go
MIT License
846 stars 108 forks source link

Querying from multiple projects in one query is not supported #223

Closed hugosandelius closed 1 year ago

hugosandelius commented 1 year ago

e.g. if I do:

WITH
a AS (
  SELECT
    foo
  FROM
    `project_a.dataset_a.table_a`
),
b AS (
  SELECT
    foo
   FROM
     `project_b.dataset_b.table_b`
)
SELECT * FROM a UNION ALL SELECT * FROM b

with project_a as the configured project in my BigQuery client, bigquery-emulator errors with: no such table: project_a_project_b_dataset_b_table_b

hugosandelius commented 1 year ago

Actually this seems to have been fixed in the latest version, I was running an old one