@@ -235,6 +235,8 @@ def __init__(
235235 result_link .startRowOffset , result_link .rowCount
236236 )
237237 )
238+ print ("Initial Setup Cloudfetch Queue" )
239+ print (f"No of result links - { len (result_links )} " )
238240 self .download_manager = ResultFileDownloadManager (
239241 links = result_links or [],
240242 max_download_threads = self .max_download_threads ,
@@ -288,6 +290,9 @@ def remaining_rows(self) -> "pyarrow.Table":
288290 # Return empty pyarrow table to cause retry of fetch
289291 return self ._create_empty_table ()
290292 results = self .table .slice (0 , 0 )
293+
294+ print ("remaining_rows call" )
295+ print (f"self.table.num_rows - { self .table .num_rows } " )
291296 while self .table :
292297 table_slice = self .table .slice (
293298 self .table_row_index , self .table .num_rows - self .table_row_index
@@ -296,6 +301,7 @@ def remaining_rows(self) -> "pyarrow.Table":
296301 self .table_row_index += table_slice .num_rows
297302 self .table = self ._create_next_table ()
298303 self .table_row_index = 0
304+ print (f"results.num_rows - { results .num_rows } " )
299305 return results
300306
301307 def _create_next_table (self ) -> Union ["pyarrow.Table" , None ]:
@@ -334,7 +340,9 @@ def _create_next_table(self) -> Union["pyarrow.Table", None]:
334340 arrow_table .num_rows , self .start_row_index
335341 )
336342 )
337-
343+
344+ print ("_create_next_table" )
345+ print (f"arrow_table.num_rows - { arrow_table .num_rows } " )
338346 return arrow_table
339347
340348 def _create_empty_table (self ) -> "pyarrow.Table" :
0 commit comments