Reuse DECIMAL_DATUM, but generalize to take an argument in the constructor for isNullable