You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/07/04 07:06:33 UTC

[jira] [Reopened] (PHOENIX-1000) Support FIRST_VALUE, LAST_VALUE, and NTH_VALUE aggregate functions

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

Anoop Sam John reopened PHOENIX-1000:
-------------------------------------


In point release we need client server version interchange compatibility. Like use 4.0 client with 4.1 server side parts.
We pass the ExpressionType by serializing the ordinal of the Enum over wire. So we must not change the ordinal of old values. Means when we add the new ExpressionTypes, we must add at the end only. The patches to master and 3.0 branches went with breaking this.  I didn't really notice this but when rebasing the patch for 4.0 noticed this. 

Opening the issue again to commit an addendum to master and 3.0

Also talked with James offline and he is +1 for this change.


> Support FIRST_VALUE, LAST_VALUE, and NTH_VALUE aggregate functions
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-1000
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1000
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: James Taylor
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: PHOENIX-1000-3-v2.patch, PHOENIX-1000-3.patch, PHOENIX-1000-4-v2.patch, PHOENIX-1000-4-v3.patch, PHOENIX-1000-4.patch, PHOENIX-1000-master-addendum.patch, PHOENIX-1000-master-v2.patch, PHOENIX-1000-master.patch
>
>
> Support the standard FIRST_VALUE, LAST_VALUE, and NTH_VALUE aggregate functions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)