You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2015/07/04 21:19:04 UTC
[jira] [Resolved] (PHOENIX-922) Support SELECT without a from
clause
[ https://issues.apache.org/jira/browse/PHOENIX-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maryann Xue resolved PHOENIX-922.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.5.0
> Support SELECT without a from clause
> ------------------------------------
>
> Key: PHOENIX-922
> URL: https://issues.apache.org/jira/browse/PHOENIX-922
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Dan Di Spaltro
> Assignee: Maryann Xue
> Fix For: 4.5.0
>
> Attachments: PHOENIX-922.2.patch, PHOENIX-922.3.patch, PHOENIX-922.patch
>
>
> You should be able to select any "generator" type function from Phoenix without specifying a table. For instance a sequence needs an arbitrary potentially unrelated table just to get the next value. The fix should enable queries like this:
> {code}
> SELECT NEXT VALUE FOR my_seq
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)