You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Mai Hai Thanh (JIRA)" <ji...@apache.org> on 2014/07/17 03:25:05 UTC
[jira] [Commented] (TAJO-831) Project wrong column in the case of
having same alias in subquery.
[ https://issues.apache.org/jira/browse/TAJO-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064464#comment-14064464 ]
Mai Hai Thanh commented on TAJO-831:
------------------------------------
Hi [~hjkim],
When I test this query, the content of L_RECEIPTDATE column is returned correctly, not O_ORDERKEY. Maybe, this is no longer a bug.
> Project wrong column in the case of having same alias in subquery.
> ------------------------------------------------------------------
>
> Key: TAJO-831
> URL: https://issues.apache.org/jira/browse/TAJO-831
> Project: Tajo
> Issue Type: Bug
> Reporter: Hyoungjun Kim
> Priority: Minor
>
> The following query should return L_RECEIPTDATE column from lineitem table, but return O_ORDERKEY from orders table.
> {code:sql}
> select
> a.L_RECEIPTDATE as col1
> from
> (select * from lineitem) a
> join
> (select O_ORDERKEY col1 from orders) b
> on
> a.L_ORDERKEY = b.col1
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)