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

Union query with the same alias names cause NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Planner/Optimizer
    • Labels:
      None

      Description

      See the title and the following case:

      select a.id, a.name from (select id, name from table1) a
      union all
      select a.id, a.name from (select id, name from table1) a
      

      We should fix it.

        Attachments

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: