Skip to content

Commit 3232768

Browse files
committed
Minor fix
1 parent b2cf39b commit 3232768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/sql/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ def concat_table_chunks(
800800
):
801801
raise ValueError("The columns in the results don't match")
802802

803-
result_table = table_chunks[0].column_table
804-
for i in range(1, len(table_chunks)):
803+
result_table = [[] for _ in range(table_chunks[0].num_columns)]
804+
for i in range(0, len(table_chunks)):
805805
for j in range(table_chunks[i].num_columns):
806806
result_table[j].extend(table_chunks[i].column_table[j])
807807
return ColumnTable(result_table, table_chunks[0].column_names)

0 commit comments

Comments
 (0)