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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.9.0
    • Planner/Optimizer
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: