Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.99.6, 1.99.7
-
None
-
None
Description
org.apache.sqoop.connector.jdbc.GenericJdbcPartitioner.constructTextConditions(String, Object, Object, String, String, boolean, boolean)
this function has such cast:
String lbString = prefix + bigDecimalToText((BigDecimal)lowerBound);
String ubString = prefix + bigDecimalToText((BigDecimal)upperBound);
and org.apache.sqoop.connector.jdbc.GenericJdbcPartitioner.partitionTextColumn() has this statement:
constructTextConditions(prefix, 0, 0,
partitionMinValue, partitionMaxValue, true, true)
it will cause java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
Attachments
Attachments
Issue Links
- links to