@@ -298,7 +298,7 @@ def next_n_rows(self, num_rows: int) -> "pyarrow.Table":
298298num_rows -= table_slice .num_rows
299299
300300logger .debug ("CloudFetchQueue: collected {} next rows" .format (results .num_rows ))
301- return pyarrow . concat_tables (partial_result_chunks , use_threads = True )
301+ return concat_table_chunks (partial_result_chunks )
302302
303303def remaining_rows (self )-> "pyarrow.Table" :
304304"""
@@ -321,7 +321,7 @@ def remaining_rows(self) -> "pyarrow.Table":
321321self .table_row_index += table_slice .num_rows
322322self .table = self ._create_next_table ()
323323self .table_row_index = 0
324- return pyarrow . concat_tables (partial_result_chunks , use_threads = True )
324+ return concat_table_chunks (partial_result_chunks )
325325
326326def _create_table_at_offset (self ,offset :int )-> Union ["pyarrow.Table" ,None ]:
327327"""Create next table at the given row offset"""
@@ -880,7 +880,7 @@ def concat_table_chunks(
880880result_table [j ].extend (table_chunks [i ].column_table [j ])
881881return ColumnTable (result_table ,table_chunks [0 ].column_names )
882882else :
883- return pyarrow .concat_tables (table_chunks , use_threads = True )
883+ return pyarrow .concat_tables (table_chunks )
884884
885885
886886def build_client_context (server_hostname :str ,version :str ,** kwargs ):