Saving the results of mergeTableArtifacts

This commit is contained in:
Jason Fulghum
2023-03-28 11:27:37 -07:00
parent c016574b52
commit da8bde5fe0

View File

@@ -48,6 +48,7 @@ func mergeProllyTable(ctx context.Context, tm *TableMerger, mergedSch schema.Sch
if err != nil {
return nil, nil, err
}
tm.leftTbl = mergeTbl
// Before we merge the table data we need to fix up the primary index on the left-side of the merge for
// any ordinal mapping changes (i.e. moving/dropping/adding columns).