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)