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

Maryann Xue commented on PHOENIX-1610:
--------------------------------------

This is another problem with parser. We do "push" in the init block and "pop" 
in the return block, but in case of backtracking, the return block is not 
entered. Instead we should place "pop" in the finally block to ensure it always 
gets called.

However after fixing this bug, I discovered another bug in child/parent join 
optimization with RVC containing CHAR type columns. No problem with other types 
like VARCHAR, INTEGER, etc. Will try to put the fix together into this patch.

> Incorrect subquery results caused by unpaired contextStack push/pop
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-1610
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1610
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>             Fix For: 4.3, 3.3
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>




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

Reply via email to