You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Frank Zhao (Jira)" <ji...@apache.org> on 2020/09/08 13:59:00 UTC

[jira] [Created] (BEAM-10859) BigQuerySource: Allow configuration of temporary dataset project

Frank Zhao created BEAM-10859:
---------------------------------

             Summary: BigQuerySource: Allow configuration of temporary dataset project
                 Key: BEAM-10859
                 URL: https://issues.apache.org/jira/browse/BEAM-10859
             Project: Beam
          Issue Type: Improvement
          Components: io-py-gcp
            Reporter: Frank Zhao


There are some uses cases that require temporary datasets created when using beam.io.BigQuerySource to be in a different GCP project (e.g service account permissions, billing).

We could make the project where temporary datasets configurable, so that the temp dataset is created in a user specified project. Example:
{code:java}
pipeline = p | "Read from BQ source" >> beam.io.Read(beam.io.BigQuerySource(
    query=q,
    use_standard_sql=True,
    project='dataflow-project',
    temp_dataset_project='bigquery-project'))
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)