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 }