Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edgao committed Feb 1, 2024
1 parent 254ab2d commit 063085b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
import java.util.List;
import java.util.UUID;
import lombok.extern.slf4j.Slf4j;
import org.jooq.SQLDialect;

@Slf4j
public class RedshiftDestinationHandler extends JdbcDestinationHandler {

public RedshiftDestinationHandler(final String databaseName, final JdbcDatabase jdbcDatabase) {
super(databaseName, jdbcDatabase);
super(databaseName, jdbcDatabase, SQLDialect.POSTGRES);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ protected DestinationHandler<TableDefinition> getDestinationHandler() {
return new RedshiftDestinationHandler(databaseName, database);
}

@Override
protected boolean supportsSafeCast() {
return true;
}

@Override
protected JdbcDatabase getDatabase() {
return database;
Expand Down

0 comments on commit 063085b

Please sign in to comment.