Sandeep More created ORC-260: -------------------------------- Summary: masking data for Decimal might not work as expected because of a bug in DecimalRedactConverter Key: ORC-260 URL: https://issues.apache.org/jira/browse/ORC-260 Project: ORC Issue Type: Bug Components: Java Reporter: Sandeep More Priority: Normal
In the DecimalRedactConverter.maskData() function {code} else { for(int r = start; r < start + length; ++r) { target.isNull[r] = source.isNull[r]; if (target.noNulls || !target.isNull[r]) { target.vector[r].set(source.vector[r]); } {code} should be {code} else { for(int r = start; r < start + length; ++r) { target.isNull[r] = source.isNull[r]; if (target.noNulls || !target.isNull[r]) { target.vector[r].set(maskDecimal(source.vector[r])); } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)