Hi, devs.

I have some confuse about the method
SqlTypeUtil#equalSansNullability(org.apache.calcite.rel.type.RelDataType,
org.apache.calcite.rel.type.RelDataType).

For example, the RexCall is *(2, cast(5 as double)), so the first type is
BasicSqlType( INTEGER), the second type is BasicSqlType(Double), it returns
false, is this by design?

Is this because the double type is a floating point number and swapping may
causes inconsistent calculations?

Reply via email to