Expression child = children.get(0);
if (child.evaluate(tuple, ptr)) {
PDataType childType = child.getDataType();
tempPtr.set(ptr.get(), ptr.getOffset(), ptr.getLength());
childType.coerceBytes(tempPtr, childType, child.getColumnModifier(), null);
Timestamp value = (Timestamp) childType.toObject(tempPtr);
if (value.getNanos() > 0) {
value = new Timestamp(value.getTime()+getRoundUpAmount());
byte[] b = childType.toBytes(value, child.getColumnModifier());
ptr.set(b);
}