phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3477) Support sequence arithmetic in Calcite-Phoenix
Date Tue, 06 Dec 2016 19:41:58 GMT

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

ASF GitHub Bot commented on PHOENIX-3477:
-----------------------------------------

Github user maryannxue commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/224#discussion_r91152478
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/calcite/CalciteUtils.java ---
    @@ -1115,6 +1099,11 @@ public Void visitCall(RexCall call) {
                             || call.getKind() == SqlKind.NEXT_VALUE)) {
                     sequenceValueCall = call;
                 }
    +            if (sequenceValueCall == null){
    --- End diff --
    
    Think we are good to remove this class, right?


> 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
>
> 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