You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/10/23 23:42:33 UTC

[jira] [Commented] (PHOENIX-1343) Array insert unique function

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

James Taylor commented on PHOENIX-1343:
---------------------------------------

I think that when transactions come online, that may be a more natural way of accomplishing this. Attempts to modify the same row from two different clients would cause one of the transactions to fail.

> Array insert unique function
> ----------------------------
>
>                 Key: PHOENIX-1343
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1343
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Vaclav Loffelmann
>            Assignee: Vaclav Loffelmann
>            Priority: Minor
>
> I'm working on function for insert unique values to an array. Logic should be implemented on region server coprocessor (for enforcing consistency and no network round trip). First step is to get current values of the array, merge with upsert values and write as new value.



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