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

James Taylor commented on PHOENIX-943:
--------------------------------------

+1

> Handle pushed down post-filters for subquery in joins with limit and 
> non-groupby aggregation
> --------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-943
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-943
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0, 4.0.0, 5.0.0
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>             Fix For: 3.0.0, 4.0.0, 5.0.0
>
>         Attachments: 943-2.patch, 943.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Support cases like:
> 1) select ... from A join (select id, b from T limit 10) as B on A.id = B.id 
> where B.b = 'b'
> 2) select ... from A join (select count(*) c from T) as B on A.a = B.c where 
> B.c > 10
> These 2 cases cannot be handled by SubselectRewriter#applyPostFilters(), thus 
> JoinCompiler should compile post-filters into query-plans for subqueries.



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

Reply via email to