DecimalColumnVector c0 = (DecimalColumnVector) b.cols[0];
c0.vector[0].update("9999999999999999.99", (short) 2); // set to max possible value
DecimalColumnVector c1 = (DecimalColumnVector) b.cols[1];
c1.vector[0].update("2", (short) 2);
r = (DecimalColumnVector) b.cols[2];
expr.evaluate(b); // will cause overflow for result at position 0, must yield NULL
assertTrue(!r.noNulls && r.isNull[0]);
}
/* Test decimal column to decimal scalar addition. This is used to cover all the
* cases used in the source code template ColumnArithmeticScalarDecimal.txt.