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

Using alias name which is same to existing column names causes error

    Details

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

      Description

      See the title. The following query reproduces the error.

      select 
          temp.id as id
      from 
          (
          select 
              table1.id as id 
          from 
              table1
          ) temp 
      join 
          table1 b 
      on 
          temp.id = b.id;
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: