Description
When fixing HIVE-13083 noticed that for non-null decimal values, set function does not update the isNull state (isNull[i] should be set to false). Updating this state in DecimalColumnVector breaks all decimal vector filter expressions as the filter expression can change state on it's own.
System.arraycopy(inputIsNull, 0, outputIsNull, 0, n); for(int i = 0; i != n; i++) { // The following may override a "false" null setting if an error or overflow occurs. DecimalUtil.addChecked(i, vector[i], value, outputColVector); }
Attachments
Issue Links
- depends upon
-
HIVE-13083 Writing HiveDecimal to ORC can wrongly suppress present stream
- Closed
- is related to
-
HIVE-12750 Vectorization logic not maintaining noNulls flag and isNull array properly causing wrong query results
- Resolved