phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alex kamil (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-957) increment column value
Date Fri, 02 May 2014 04:01:16 GMT

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

alex kamil commented on PHOENIX-957:
------------------------------------

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)

Mime
View raw message