You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make total_rows available on RowIterator before iteration (#7622)
* Make total_rows available on RowIterator before iteration
After running a query, the total number of rows is available from the
call to the getQueryResults API. This commit plumbs the total rows
through to the faux Table created in QueryJob.results and then on
through to the RowIterator created by list_rows.
* Simplify RowIterator constructor. Add test comments.
Use getattr instead of protecting with hasattr in the RowIterator
constructor.
Add comments about intentionally conflicting values for total_rows.
0 commit comments