-
Notifications
You must be signed in to change notification settings - Fork 125
TypeError(_NEED_TABLE_ARGUMENT) error using read_gbq #481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually, this might have been intentional — there were known breaking changes in 0.17.0 as per #477 — but I'm not totally sure. |
Copying out the stacktrace for my own readability: File "/layers/google.python.pip/pip/lib/python3.7/site-packages/pandas_gbq/gbq.py", line 870, in read_gbq dtypes=dtypes, File "/layers/google.python.pip/pip/lib/python3.7/site-packages/pandas_gbq/gbq.py", line 499, in run_query query_reply.destination, max_results=max_results File "/layers/google.python.pip/pip/lib/python3.7/site-packages/google/cloud/bigquery/client.py", line 3780, in list_rows raise TypeError(_NEED_TABLE_ARGUMENT) TypeError: The table argument should be a table ID string, Table, or TableReference |
Nevermind, it is in the
Somehow |
I can reproduce this error with a system test, though it seems the regression happened between 0.11.0 and 0.12.0, unless there was a brief fix for DML queries since then. |
Fix #483 has been mailed for review |
Hello,
Version 0.17.0 introduced the error below when using read_gbq.
Example query used
Environment details
pandas-gbq
version: 0.17.0Code example
Stack trace
Best,
The text was updated successfully, but these errors were encountered: