Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Removed use_threads argument on concat_tables for compatibility with pyarrow<14#684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jprakash-db merged 1 commit intomainfromjprakash-db/rm-arrow-use-threads
Aug 22, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionssrc/databricks/sql/utils.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -298,7 +298,7 @@ def next_n_rows(self, num_rows: int) -> "pyarrow.Table":
num_rows -= table_slice.num_rows

logger.debug("CloudFetchQueue: collected {} next rows".format(results.num_rows))
returnpyarrow.concat_tables(partial_result_chunks, use_threads=True)
returnconcat_table_chunks(partial_result_chunks)

def remaining_rows(self) -> "pyarrow.Table":
"""
Expand All@@ -321,7 +321,7 @@ def remaining_rows(self) -> "pyarrow.Table":
self.table_row_index += table_slice.num_rows
self.table = self._create_next_table()
self.table_row_index = 0
returnpyarrow.concat_tables(partial_result_chunks, use_threads=True)
returnconcat_table_chunks(partial_result_chunks)

def _create_table_at_offset(self, offset: int) -> Union["pyarrow.Table", None]:
"""Create next table at the given row offset"""
Expand DownExpand Up@@ -880,7 +880,7 @@ def concat_table_chunks(
result_table[j].extend(table_chunks[i].column_table[j])
return ColumnTable(result_table, table_chunks[0].column_names)
else:
return pyarrow.concat_tables(table_chunks, use_threads=True)
return pyarrow.concat_tables(table_chunks)


def build_client_context(server_hostname: str, version: str, **kwargs):
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp