@@ -1975,6 +1975,7 @@ def _get_query_results(
19751975 location : Optional [str ] = None ,
19761976 timeout : TimeoutType = DEFAULT_TIMEOUT ,
19771977 page_size : int = 0 ,
1978+ start_index : Optional [int ] = None ,
19781979 ) -> _QueryResults :
19791980 """Get the query results object for a query job.
19801981
@@ -2002,7 +2003,7 @@ def _get_query_results(
20022003 A new ``_QueryResults`` instance.
20032004 """
20042005
2005- extra_params : Dict [str , Any ] = {"maxResults" : page_size }
2006+ extra_params : Dict [str , Any ] = {"maxResults" : page_size , "startIndex" : start_index }
20062007
20072008 if timeout is not None :
20082009 if not isinstance (timeout , (int , float )):
@@ -2040,6 +2041,7 @@ def _get_query_results(
20402041 query_params = extra_params ,
20412042 timeout = timeout ,
20422043 )
2044+ breakpoint ()
20432045 return _QueryResults .from_api_repr (resource )
20442046
20452047 def job_from_resource (
@@ -4146,6 +4148,7 @@ def _list_rows_from_query_results(
41464148 params ["startIndex" ] = start_index
41474149
41484150 params ["formatOptions.useInt64Timestamp" ] = True
4151+ # breakpoint()
41494152 row_iterator = RowIterator (
41504153 client = self ,
41514154 api_request = functools .partial (self ._call_api , retry , timeout = timeout ),
0 commit comments