Skip to content

Commit 99fae58

Browse files
Adding Numeric type to String compatibility list. (#342)
Adding Numeric type to String compatibility list.
1 parent c639800 commit 99fae58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleFieldsValidator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public boolean isFieldCompatible(Schema.Field field, ResultSetMetaData metadata,
6565
|| sqlType == OracleSinkSchemaReader.INTERVAL_DS
6666
|| sqlType == OracleSinkSchemaReader.INTERVAL_YM
6767
|| sqlType == Types.ROWID
68+
|| sqlType == Types.NUMERIC
6869
|| super.isFieldCompatible(fieldType, null, sqlType);
6970
case INT:
7071
// Since all Oracle numeric types are based on NUMBER(i.e. INTEGER type is actually NUMBER(38, 0)) we won't be

0 commit comments

Comments
 (0)