[ 
https://issues.apache.org/jira/browse/PHOENIX-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556254#comment-15556254
 ] 

Maryann Xue commented on PHOENIX-3363:
--------------------------------------

Ok, just realized that Calcite does not allow referring a column with its 
original table name if that table has an alias already. I'll remove that test 
then.

> Join-related IT had problematic usage of generating new table names
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-3363
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3363
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 4.9.0
>
>
> If there are multiple references of the same table, we should only call 
> method "getTable()" once for each query or each test case. HashJoinIT.java 
> did the right thing while other join-related IT tests did not.
> This was covered by a bug in column resolving. We shouldn't be able to 
> resolve a table reference if that table is not mentioned in the from clause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to