I took a quick look at the code and to me it seems like a copy-paste
bug rather than intentional.

Best,
Stamatis


On Tue, Mar 24, 2026 at 5:33 AM Mihai Budiu <[email protected]> wrote:
>
> 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

Reply via email to