Closed
Description
Hello,
Version 0.17.0 introduced the error below when using read_gbq.
Example query used
UPDATE mydb.mytable set field1 = null
WHERE field1 = 'string' ;
UPDATE mydb.mytable set field2 = null
WHERE field2 < 0
Environment details
- OS type and version:
- Python version: 3.7
pandas-gbq
version: 0.17.0
Code example
pandas_gbq.read_gbq(
sql,
project_id=project_id,
dialect='standard',
progress_bar_type=None,
use_bqstorage_api=True,
max_results=0,)
Stack trace
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
Best,