diff --git a/hydrator-common/src/main/java/io/cdap/plugin/common/db/DBUtils.java b/hydrator-common/src/main/java/io/cdap/plugin/common/db/DBUtils.java index cbca35789..c8bbf2478 100644 --- a/hydrator-common/src/main/java/io/cdap/plugin/common/db/DBUtils.java +++ b/hydrator-common/src/main/java/io/cdap/plugin/common/db/DBUtils.java @@ -322,11 +322,6 @@ public static Schema getSchema(String typeName, int sqlType, int precision, int case Types.NUMERIC: case Types.DECIMAL: - // decimal type with precision 0 is not supported - if (precision == 0) { - throw new SQLException(new UnsupportedTypeException( - String.format("Column %s has unsupported SQL Type: %s with precision 0.", columnName, typeName))); - } if (handleAsDecimal) { return Schema.decimalOf(precision, scale); } else {