You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/01 09:12:00 UTC

[jira] [Work logged] (BEAM-12796) Executing a BQ pipeline without the new BQ read API library results in a TypeError

     [ https://issues.apache.org/jira/browse/BEAM-12796?focusedWorklogId=644860&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-644860 ]

ASF GitHub Bot logged work on BEAM-12796:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Sep/21 09:11
            Start Date: 01/Sep/21 09:11
    Worklog Time Spent: 10m 
      Work Description: vachan-shetty closed pull request #15388:
URL: https://github.com/apache/beam/pull/15388


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 644860)
    Time Spent: 5h 50m  (was: 5h 40m)

> Executing a BQ pipeline without the new BQ read API library results in a TypeError
> ----------------------------------------------------------------------------------
>
>                 Key: BEAM-12796
>                 URL: https://issues.apache.org/jira/browse/BEAM-12796
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-gcp
>            Reporter: Chamikara Madhusanka Jayalath
>            Assignee: Vachan Shetty
>            Priority: P1
>             Fix For: 2.33.0
>
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> Executing a BQ pipeline without the new BQ read API library results in following error which is not helpful.
> {{if (isinstance(self.table_reference, TableReference) and
>           self.table_reference.projectId is None):
> E         TypeError: isinstance() arg 2 must be a type or tuple of types}}
> {{}}
> This seems to be due to the new import here: https://github.com/apache/beam/blob/76d0dcb6081b8a8f03e4292a4f99274a8c9a5965/sdks/python/apache_beam/io/gcp/bigquery.py#L335
> {{added by [https://github.com/apache/beam/pull/15185]}}
> {{}}
> {{Previously BQ client library was a part of Beam so this is a new failure mode. We should provide a better error message here.}}
> {{}}



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