You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kamil Wasilewski (Jira)" <ji...@apache.org> on 2020/09/25 13:23:00 UTC
[jira] [Assigned] (BEAM-9506) _CustomBigQuerySource value provider
parameter gcs_location is wrongly evaluated
[ https://issues.apache.org/jira/browse/BEAM-9506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kamil Wasilewski reassigned BEAM-9506:
--------------------------------------
Assignee: Kamil Wasilewski
> _CustomBigQuerySource value provider parameter gcs_location is wrongly evaluated
> --------------------------------------------------------------------------------
>
> Key: BEAM-9506
> URL: https://issues.apache.org/jira/browse/BEAM-9506
> Project: Beam
> Issue Type: Bug
> Components: io-py-gcp
> Affects Versions: 2.19.0
> Reporter: Elias Djurfeldt
> Assignee: Kamil Wasilewski
> Priority: P3
>
> The `gcs_location` parameter is wrongly evaluated at pipeline construction time, resulting in calling value_provider.get() from a non-runtime context when using a value provider for the `gcs_location`.
> See discussion at [https://github.com/apache/beam/pull/11040#issuecomment-597872563]
> The code in question is at: [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py#L1575]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)