Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-37932

FULL OUTER JOIN: Make the parser support FULL OUTER JOIN syntax

    XMLWordPrintable

Details

    • Task
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.3
    • Optimizer
    • None
    • Q4/2025 Server Development

    Description

      Taking a part of MDEV-36813:

      Fix the parser. (an attempt to just add FULL OUTER JOIN alongside with LEFT and INNER and that causes some mysterious reduce/reduce conflicts: full-outer-join-parser-FAIL.diff ).

      The produced data structure for

        (t1 FULL OUTER JOIN t2 ON ... )
      

      TABLE_LIST(t1) will have a mark noting it's left table of full outer join
      TABLE_LIST(t2) will have a mark noting it's right table of full outer join and on_expr (like right tables of LEFT JOINs do).

      In the first milestone, you can also introduce/set LEX::has_full_outer_join and produce ER_NOT_SUPPORTED (instead of Parse Error) when that variable is set.

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: