[ https://issues.apache.org/jira/browse/PHOENIX-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-957.
----------------------------------
Resolution: Not a Problem
Closing this, but feel free to link this to the JIRA for supporting transactions.
> 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)
|