src/main/java/org/embulk/output/redshift/RedshiftOutputConnection.java in embulk-output-redshift-0.8.1 vs src/main/java/org/embulk/output/redshift/RedshiftOutputConnection.java in embulk-output-redshift-0.8.2

- old
+ new

@@ -12,12 +12,10 @@ import org.embulk.output.jdbc.MergeConfig; import org.embulk.output.jdbc.TableIdentifier; import org.embulk.spi.Exec; import org.slf4j.Logger; -import com.google.common.base.Optional; - public class RedshiftOutputConnection extends JdbcOutputConnection { private final Logger logger = Exec.getLogger(RedshiftOutputConnection.class); @@ -46,14 +44,11 @@ } @Override protected String buildColumnTypeName(JdbcColumn c) { - // Redshift does not support TEXT type. switch(c.getSimpleTypeName()) { case "CLOB": - return "VARCHAR(65535)"; - case "TEXT": return "VARCHAR(65535)"; case "BLOB": return "BYTEA"; default: return super.buildColumnTypeName(c); \ No newline at end of file