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

Maryann Xue updated PHOENIX-1917:
---------------------------------
    Attachment: PHOENIX-1917.patch

The inner query scope overrides the outer query scope when resolving correlated 
condition in subqueries, so we try resolving columns with inner query resolver 
first and then the outer query if the first attempt fails.

If the inner query is a JOIN query, we should catch TableNotFoundException 
aside from ColumnNotFoundException and ColumnFamilyNotFoundException.

> Correlated subquery fails if the inner query contains JOIN
> ----------------------------------------------------------
>
>                 Key: PHOENIX-1917
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1917
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 4.3.0
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 5.0.0, 4.4.0
>
>         Attachments: PHOENIX-1917.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>




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

Reply via email to