phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-2909) Surface checkAndPut through UPDATE support
Date Tue, 16 Aug 2016 01:47:20 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Taylor updated PHOENIX-2909:
----------------------------------
    Summary: Surface checkAndPut through UPDATE support  (was: Support compilation to atomic
increment for non transactional tables)

> Surface checkAndPut through UPDATE support
> ------------------------------------------
>
>                 Key: PHOENIX-2909
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2909
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>
> We could potentially recognize updates to the same column in a SQL statement and compile
them into either a check and put or increment call.
> For example, the following could use increment or a get/put under row lock to perform
the row update atomically
> {code}
> UPSERT INTO my_table(pk1, pk2, counter) SELECT pk1, pk2, counter + 1 FROM my_table;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message