[ https://issues.apache.org/jira/browse/PHOENIX-3477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15717046#comment-15717046 ]
ASF GitHub Bot commented on PHOENIX-3477: ----------------------------------------- GitHub user lomoree opened a pull request: https://github.com/apache/phoenix/pull/224 PHOENIX-3477 Support sequence arithmetic in Calcite-Phoenix PhoenixConverterRules is meant to route any logical project through PhoenixClientProject. Before, sequences were not properly being found. This patch simplifies the logic and adds that support. -- Check for nested sequences -- Use the Sequence Manager now available in StatementContext -- Add relevant test cases to CalciteIT You can merge this pull request into a Git repository by running: $ git pull https://github.com/bloomberg/phoenix sequencearithmetic Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/224.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #224 ---- commit 8eacb9e455f16c97d6f301fdb1c27494905900a0 Author: Eric Lomore <elom...@bloomberg.net> Date: 2016-12-03T01:00:20Z PHOENIX-3477 Support sequence arithmetic in Calcite-Phoenix ---- > 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)