move-coop / parsons

A python library of connectors for the progressive community.
Other
255 stars 125 forks source link

[Bug] BigQuery connector raises AttributeError on successful query to create view or table #999

Closed austinweisgrau closed 4 months ago

austinweisgrau commented 4 months ago

When a successful query to create a view runs, the connector fails on this exception:

AttributeError: 'NoneType' object has no attribute to_bqstorage

Implying somewhere in the stack, nothing is returned while something is expected.

Detailed Description

To Reproduce

BigQuery().query("create view as select * from some_other_table")

Your Environment

Additional Context

Priority

Please indicate whether fixing this bug is high, medium, or low priority for you. If the issue is time-sensitive for you, please let us know when you need it addressed by.

austinweisgrau commented 4 months ago

Resolved with #1000