Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 25, 2024
1 parent 30f94ba commit f866263
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clients/redshift/cast.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit f866263

Please sign in to comment.