Maryann Xue created PHOENIX-943:
-----------------------------------
Summary: 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: 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
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.2#6252)