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

OUTER JOIN with empty result subquery produces a wrong result.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: