fix for problem in Table.insert_all on search for columns per chunk of rows

This commit is contained in:
Frans 2021-01-29 20:58:37 +01:00
commit 929ea75511
3 changed files with 27 additions and 12 deletions

View file

@ -1886,12 +1886,12 @@ class Table(Queryable):
if hash_id:
all_columns.insert(0, hash_id)
else:
all_columns += [
column
for record in chunk
for column in record
if column not in all_columns
]
for record in chunk:
all_columns += [
column
for column in record
if column not in all_columns
]
validate_column_names(all_columns)
first = False