You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/07/08 09:41:35 UTC

[jira] [Updated] (TAJO-917) Using alias name which is same to existing column names causes error

     [ https://issues.apache.org/jira/browse/TAJO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi updated TAJO-917:
------------------------------

    Description: 
See the title. The following query reproduces the error.
{code}
select 
    temp.id as id
from 
    (
    select 
        table1.id as id 
    from 
        table1
    ) temp 
join 
    table1 b 
on 
    temp.id = b.id;
{code}

  was:
See the title. The following queries reproduce the error.
{code}
select 
    temp.id as id
from 
    (
    select 
        table1.id as id 
    from 
        table1
    ) temp 
join 
    table1 b 
on 
    temp.id = b.id;
{code}


> Using alias name which is same to existing column names causes error
> --------------------------------------------------------------------
>
>                 Key: TAJO-917
>                 URL: https://issues.apache.org/jira/browse/TAJO-917
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.9.0
>
>
> See the title. The following query reproduces the error.
> {code}
> select 
>     temp.id as id
> from 
>     (
>     select 
>         table1.id as id 
>     from 
>         table1
>     ) temp 
> join 
>     table1 b 
> on 
>     temp.id = b.id;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)