We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2cf39b commit 3232768Copy full SHA for 3232768
src/databricks/sql/utils.py
@@ -800,8 +800,8 @@ def concat_table_chunks(
800
):
801
raise ValueError("The columns in the results don't match")
802
803
- result_table = table_chunks[0].column_table
804
- for i in range(1, len(table_chunks)):
+ result_table = [[] for _ in range(table_chunks[0].num_columns)]
+ for i in range(0, len(table_chunks)):
805
for j in range(table_chunks[i].num_columns):
806
result_table[j].extend(table_chunks[i].column_table[j])
807
return ColumnTable(result_table, table_chunks[0].column_names)
0 commit comments