class IgniteRexBuilder extends RexBuilder {
    /** */
    public IgniteRexBuilder(RelDataTypeFactory typeFactory) {
        super(typeFactory);
    }

    /** {@inheritDoc} */
    @Override protected RexLiteral makeLiteral(@Nullable Comparable o, RelDataType type, SqlTypeName typeName) {<FILL_FUNCTION_BODY>}
}

        if (o != null && typeName == SqlTypeName.DECIMAL && TypeUtils.hasScale(type))
            return super.makeLiteral(((BigDecimal)o).setScale(type.getScale(), RoundingMode.HALF_UP), type, typeName);

        return super.makeLiteral(o, type, typeName);
    
<no_super_class>