Incorrect output for LEFT JOINS with integer-valued filter. #6412
Labels
analyzer
bug
Something isn't working
good first issue
Good for newcomers
good repro
Easily reproducible bugs
sql
Issue with SQL
In MySQL, booleans are actually tinyints, true and false are aliases for 1 and 0, respectively, and all non-zero integers are "truthy".
As a result, the three select queries below are all equivalent.
MySql output:
However, running the same query in Dolt produces:
Curiously, this only effects left/right joins. Inner joins in Dolt behave the same as MySQL.
The text was updated successfully, but these errors were encountered: