Incorrect type inference for COALESCE
of system variables
#8448
Labels
bug
Something isn't working
correctness
We don't return the same result as MySQL
customer issue
good repro
Easily reproducible bugs
Hi Dolt creators,
I have observed that the type inference for the
COALESCE
function does not work as expected when used with system variables. For instance,COALESCE(@@admin_port, @@port)
is inferred to be alongtext
field. This issue can be reproduced using the _example implementation:The text was updated successfully, but these errors were encountered: