// The input timestamps are stored as long values
// measured in nanoseconds from the epoch.
VectorizedRowBatch b = getBatchLongDecimal();
VectorExpression expr = new CastTimestampToDecimal(0, 1);
LongColumnVector inL = (LongColumnVector) b.cols[0];
inL.vector[1] = -1990000000L;
expr.evaluate(b);
DecimalColumnVector r = (DecimalColumnVector) b.cols[1];
assertTrue(r.vector[0].equals(new Decimal128(0, (short) 2)));
assertTrue(r.vector[1].equals(new Decimal128("-1.99", (short) 2)));