[ https://issues.apache.org/jira/browse/PHOENIX-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987303#comment-13987303
]
alex kamil edited comment on PHOENIX-957 at 5/2/14 4:02 AM:
------------------------------------------------------------
do you mean PHOENIX-400 ?
was (Author: alexdl):
do you mean https://issues.apache.org/jira/browse/PHOENIX-400 ?
> increment column value
> ----------------------
>
> Key: PHOENIX-957
> URL: https://issues.apache.org/jira/browse/PHOENIX-957
> Project: Phoenix
> Issue Type: Improvement
> Reporter: alex kamil
>
> allow incrementing column value using standard update syntax:
> UPDATE table1 SET col1 = col1 + 1 WHERE col2>7;
> for now using upsert select as a workaround:
> UPSERT INTO table1 (id, col1) SELECT id, col1+1 FROM table1 WHERE col2>7;
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|