Calcite has a SqlTypeCoercionRule class, which has two instances: LENIENT and INSTANCE. You would expect the LENIENT version to allow MORE type conversions, but it's actually the opposite.
For example, there are 18 casts allowed to TINYINT in the LENIENT version, but 30 in the other version. Is this a bug, or is this intentional? Mihai
