From 4eb812e93646531c894d947eb65d4d3d5f5ba168 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Tue, 26 Nov 2024 23:11:54 -0800 Subject: [PATCH] Put error back. --- clients/shared/merge.go | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/shared/merge.go b/clients/shared/merge.go index ed1a7c4c..743c7e31 100644 --- a/clients/shared/merge.go +++ b/clients/shared/merge.go @@ -48,6 +48,7 @@ func Merge(ctx context.Context, dwh destination.DataWarehouse, tableData *optimi } if err = AlterTableDropColumns(ctx, dwh, tableConfig, tableID, srcKeysMissing, tableData.LatestCDCTs, tableData.ContainOtherOperations()); err != nil { + return fmt.Errorf("failed to drop columns for table %q: %w", tableID.Table(), err) } // TODO: Examine whether [AuditColumnsToDelete] still needs to be called.