From f8662632f4b6e3630d13a7f69e7338902ab5845f Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 25 Sep 2024 16:58:31 -0700 Subject: [PATCH] Clean up. --- clients/redshift/cast.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clients/redshift/cast.go b/clients/redshift/cast.go index e4de20cbc..540f66804 100644 --- a/clients/redshift/cast.go +++ b/clients/redshift/cast.go @@ -51,8 +51,6 @@ func castColValStaging(colVal any, colKind typing.KindDetails, truncateExceededV return "", err } - value := replaceExceededValues(colValString, colKind, truncateExceededValue) - // Checks for DDL overflow needs to be done at the end in case there are any conversions that need to be done. - return value, nil + return replaceExceededValues(colValString, colKind, truncateExceededValue), nil }