Job retry solution (client.create_job) is broken #297
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
A solution was implemented in #71 but is now broken.
This is not caught by unit tests because the failure is within a mocked interface.
Original issue: #14
Environment details
Steps to reproduce
Run the code in the unit tests without mocks; rather than failing for nonexistent/unauthorized project/dataset (as you would expect), it fails with an AttributeError.:
Code example
Stack trace
Fails with:
As you can see here, the mocked client method
load_table_from_uri
is where the traceback begins.The destination must be coerced to a
TableRef
before calling this method.The text was updated successfully, but these errors were encountered: