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/11/10 22:41:00 UTC

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

    [ https://issues.apache.org/jira/browse/BEAM-10859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17229553#comment-17229553 ] 

Frank Zhao commented on BEAM-10859:
-----------------------------------

Fixed by BEAM-9804 in https://github.com/apache/beam/pull/12960

> 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
>            Priority: P3
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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)