phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lomore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3477) Support sequence arithmetic in Calcite-Phoenix
Date Mon, 12 Dec 2016 18:25:58 GMT

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

Eric Lomore commented on PHOENIX-3477:
--------------------------------------

[~maryannxue] per our discussion I've attached the patch that would wrap sequences in an iterator.
Depending on the type of iterator you use, you'll get various exceptions different exceptions.

Feel free to go ahead and merge the original PR, it is tested and working as-is.

> Support sequence arithmetic in Calcite-Phoenix
> ----------------------------------------------
>
>                 Key: PHOENIX-3477
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3477
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Eric Lomore
>            Assignee: Eric Lomore
>         Attachments: PHOENIX-3477.patch
>
>
> When a sequence is wrapped inside an arithmetic operator it is routed through PhoenixServerProject
which does not currently have sequence support
> {{SELECT NEXT VALUE FOR foo.bar+1 FROM SYSTEM.SEQUENCE.}}



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

Mime
View raw message