From 28b565f92f3265f5be305757899106e15db4e810 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 1 May 2024 18:47:22 -0700 Subject: [PATCH] Lint. --- clients/shared/append.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clients/shared/append.go b/clients/shared/append.go index ec018736e..16b9fbba7 100644 --- a/clients/shared/append.go +++ b/clients/shared/append.go @@ -51,13 +51,15 @@ func Append(dwh destination.DataWarehouse, tableData *optimization.TableData, op return fmt.Errorf("failed to merge columns from destination: %w", err) } + additionalSettings := types.AdditionalSettings{ + AdditionalCopyClause: opts.AdditionalCopyClause, + } + return dwh.PrepareTemporaryTable( tableData, tableConfig, tableID, - types.AdditionalSettings{ - AdditionalCopyClause: opts.AdditionalCopyClause, - }, + additionalSettings, false, ) }