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

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion 2 src/databricks/sql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,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)
return pyarrow.concat_tables(table_chunks, promote_options="default")


def serialize_query_tags(
Expand Down
4 changes: 2 additions & 2 deletions 4 tests/unit/test_cloud_fetch_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def test_next_n_rows_more_than_one_table(self, mock_create_next_table):
assert (
result
== pyarrow.concat_tables(
[self.make_arrow_table(), self.make_arrow_table()]
[self.make_arrow_table(), self.make_arrow_table()],promote_options="default"
Comment thread
jprakash-db marked this conversation as resolved.
)[:7]
)

Expand Down Expand Up @@ -266,7 +266,7 @@ def test_remaining_rows_multiple_tables_fully_returned(
assert (
result
== pyarrow.concat_tables(
[self.make_arrow_table(), self.make_arrow_table()]
[self.make_arrow_table(), self.make_arrow_table()], promote_options="default"
)[3:]
)

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.