Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.0.0
Description
Per ARROW-16427, JDBC drivers sometimes return ResultSets where the scale of BigDecimals in a single column differs by row. The existing mapping requires exact match of scale to the target Arrow vector that was created based on ResultSetMetaData (or configuration), and when any row does not match exactly, an Exception is thrown.
To support JDBC drivers where scale may be inconsistent by row, Arrow should allow a less-strict mode that coerces BigDecimals to target vectors with greater scale. The default strict behavior should be retained, but it may be useful to allow coercion to proper target scale.
Attachments
Issue Links
- is related to
-
ARROW-16427 [Java] jdbcToArrowVectors / sqlToArrowVectorIterator fails to handle variable decimal precision / scale
-
- Resolved
-
- links to