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

Beam JIRA Bot commented on BEAM-10792:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> ReadFromBigQuery fails with ValueProvider for table
> ---------------------------------------------------
>
>                 Key: BEAM-10792
>                 URL: https://issues.apache.org/jira/browse/BEAM-10792
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>    Affects Versions: 2.23.0
>            Reporter: Michael Ballou
>            Assignee: Michael Ballou
>            Priority: P2
>              Labels: bigquery, gcp, io, python, stale-assigned
>
> 2 errors are present:
> 1. ReadFromBigQuery passing a ValueProvider for the table param gets this 
> error:
> '_CustomBigQuerySource' object has no attribute 'dataset'
> File "./lib/python3.7/site-packages/apache_beam/io/gcp/bigquery.py", line 
> 656, in estimate_size self.table_reference.get(), self.dataset, self.project)
> There are a 2 places where self.dataset are referenced, but it is never set 
> to any value in the CustomBigQuerySource class.  This should be set 
> __init__() method.
> 2. _export_files references table_ref as a str before checking if its a 
> ValueProvider.



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

Reply via email to