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

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

My idea would be to support updating an element in an array, like Postgres 
allows: http://www.postgresql.org/docs/9.1/static/arrays.html. With 
transactions, we could do this in a sane way because if two clients attempt to 
modify the same column value in overlapping transactions, it'd be flagged as a 
concurrency violation.

> 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)

Reply via email to