@@ -207,7 +207,7 @@ def _fill_results_buffer(self):
207207 use_cloud_fetch = self ._use_cloud_fetch ,
208208 )
209209 self .results = results
210- self ._has_more_rows = has_more_rows
210+ self .has_more_rows = has_more_rows
211211
212212 def _convert_columnar_table (self , table ):
213213 column_names = [c [0 ] for c in self .description ]
@@ -291,7 +291,7 @@ def fetchmany_arrow(self, size: int) -> "pyarrow.Table":
291291 while (
292292 n_remaining_rows > 0
293293 and not self .has_been_closed_server_side
294- and self ._has_more_rows
294+ and self .has_more_rows
295295 ):
296296 self ._fill_results_buffer ()
297297 partial_results = self .results .next_n_rows (n_remaining_rows )
@@ -316,7 +316,7 @@ def fetchmany_columnar(self, size: int):
316316 while (
317317 n_remaining_rows > 0
318318 and not self .has_been_closed_server_side
319- and self ._has_more_rows
319+ and self .has_more_rows
320320 ):
321321 self ._fill_results_buffer ()
322322 partial_results = self .results .next_n_rows (n_remaining_rows )
@@ -331,7 +331,7 @@ def fetchall_arrow(self) -> "pyarrow.Table":
331331 results = self .results .remaining_rows ()
332332 self ._next_row_index += results .num_rows
333333
334- while not self .has_been_closed_server_side and self ._has_more_rows :
334+ while not self .has_been_closed_server_side and self .has_more_rows :
335335 self ._fill_results_buffer ()
336336 partial_results = self .results .remaining_rows ()
337337 if isinstance (results , ColumnTable ) and isinstance (
@@ -357,7 +357,7 @@ def fetchall_columnar(self):
357357 results = self .results .remaining_rows ()
358358 self ._next_row_index += results .num_rows
359359
360- while not self .has_been_closed_server_side and self ._has_more_rows :
360+ while not self .has_been_closed_server_side and self .has_more_rows :
361361 self ._fill_results_buffer ()
362362 partial_results = self .results .remaining_rows ()
363363 results = self .merge_columnar (results , partial_results )
0 commit comments