You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/10/14 23:04:36 UTC

[jira] [Commented] (PHOENIX-943) Handle pushed down post-filters for subquery in joins with limit and non-groupby aggregation

    [ 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)