-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
MDEV-37995: FULL OUTER JOIN name resolution #4419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 12.3-MDEV-37932-full-outer-join-syntax
Are you sure you want to change the base?
MDEV-37995: FULL OUTER JOIN name resolution #4419
Conversation
|
It's interesting that NATURAL JOIN was supported before without |
|
So I'm playing with these queries: Q1: fails Q2: fails Q3: Accepted It looks like Q1 is parsed in the same way as Q2. Okay, but running the same queries in PostgreSQL: https://dbfiddle.uk/woT65Sxc Any idea? |
Yes, it's needed for correct |
Yes, we need to attach the Now the queries accept/reject as expected: (Later, during |
Allow FULL OUTER JOIN queries to proceed through name resolution. Permits limited EXPLAIN EXTENDED support so tests can prove that the JOIN_TYPE_* table markings are reflected when the query is echoed back by the server. This happens in at least two places: via a Warning message during EXPLAIN EXTENDED and during VIEW .frm file creation. While the query plan output is mostly meaningless at this point, this limited EXPLAIN support improves the SELECT_LEX print function for the new JOIN types.
d6c2697 to
c56d230
Compare
Allow FULL OUTER JOIN queries to proceed through name resolution.
Permits limited EXPLAIN EXTENDED support so tests can prove that the JOIN_TYPE_* table markings are reflected when the query is echoed back by the server. This happens in at least two places: via a Warning message during EXPLAIN EXTENDED and during VIEW .frm file creation.
While the query plan output is mostly meaningless at this point, this limited EXPLAIN support improves the SELECT_LEX print function for the new JOIN types.
PS protocol is disabled in the tests for FULL JOIN at this point and will be fixed as FULL JOIN development continues.