[
https://issues.apache.org/jira/browse/BEAM-9506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elias Djurfeldt updated BEAM-9506:
----------------------------------
Description:
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]
was:
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]
> BigQuerySource 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: Minor
>
> 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)