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

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

1. Added RuntimeContext/RuntimeContextImpl for setting and getting correlate 
variables.
2. Added CorrelateVariableFieldAccessExpression which will be evaluated at 
runtime and serialized to server (if necessary) as LiteralExpression.
3. Added CorrelatedPlan and CorrelatedPlanTest.
4. Added dynamicFilter to BaseQueryPlan. The compiler will be responsible for 
testing if the filter expression contains any 
CorrelateVariableFieldAccessExpression and if this "dynamic part" will have 
impact on ScanRanges. This dynamic filter should be set when both conditions 
return true. (This part is in calcite branch.)
5. Made minor changes to HashJoinPlan and UngroupedAggregatingResultIterator.

> Support correlate variable
> --------------------------
>
>                 Key: PHOENIX-2198
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2198
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>         Attachments: PHOENIX-2198.patch
>
>   Original Estimate: 240h
>  Remaining Estimate: 240h
>
> This will enable the outer query to set a correlate variable as a parameter 
> to restart the inner query for each iteration.



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

Reply via email to