Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-867

OUTER JOIN with empty result subquery produces a wrong result.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      In the following query if a subquery has no data, a Execution block for final outer join has only one task and final result is wrong.

      select * 
      from table1 a
      outer join (select * from table2 where code = '1') b
      on a.id = b.id
      

      Attachments

        Activity

          People

            hjkim Hyoungjun Kim
            hjkim Hyoungjun Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: