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

Maryann Xue commented on PHOENIX-154:
-------------------------------------

I think it would. We can even divide the work into two parts:
1) Runtime of sliding windows with ORDER BY key and ROWS/RANGE.
2) Integration with Calcite-Phoenix (the translation of calcite Window operator 
into Phoenix runtime).
We do the same thing with implementation of nested-loop join in Phoenix as 
well, as you can see we have a CorrelatePlan and then we have standalone tests 
to check this runtime implementation. Besides, we have the compiler 
implementation for the PhoenixCorrelate operator, and altogether we can run SQL 
queries in our end-to-end tests.
Part 2 will be rather simple once part 1 is ready, and it does not require much 
knowledge of Calcite either. Simply think of it as writing compiler code in 
standalone Phoenix but without even having to worry about how it interacts with 
the compiler framework. The workload of this part is more about writing 
end-to-end test cases.

> Support SQL OLAP extensions
> ---------------------------
>
>                 Key: PHOENIX-154
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-154
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: James Taylor
>              Labels: gsoc2016
>
> Support the WINDOW, PARTITION OVER, GROUPING, RANK, DENSE RANK, ORDER BY etc. 
> functionality.



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

Reply via email to