Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 18, 2024
1 parent 3cb41f9 commit 476cc88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clients/mssql/staging.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func (s *Store) PrepareTemporaryTable(tableData *optimization.TableData, tableCo
}
}()

// TODO: Refactor the loop below to use the columns from [ValidColumns]
columns := columns.ColumnNames(tableData.ReadOnlyInMemoryCols().ValidColumns())
stmt, err := tx.Prepare(mssql.CopyIn(tempTableID.FullyQualifiedName(), mssql.BulkOptions{}, columns...))
if err != nil {
Expand Down

0 comments on commit 476cc88

Please sign in to comment.