Skip to content

Commit

Permalink
bulker replacetable_stream: properly set final table name
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Mar 7, 2024
1 parent 6812514 commit 1e59115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bulkerlib/implementations/sql/replacetable_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func (ps *ReplaceTableStream) Complete(ctx context.Context) (state bulker.State,
if ok {
r.Name = ps.tableName
r.Temporary = false
ps.state.Representation = r
}
err1 := ps.tx.ReplaceTable(ctx, ps.tableName, ps.tmpTable, true)
if errorx.IsOfType(err1, errorj.DropError) {
Expand Down

0 comments on commit 1e59115

Please sign in to comment.