cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-6460) adjust sstableloader to accept a collection field for update
Date Fri, 11 Mar 2016 17:31:39 GMT

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

Aleksey Yeschenko resolved CASSANDRA-6460.
------------------------------------------
    Resolution: Invalid

> adjust sstableloader to accept a collection field for update
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-6460
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6460
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Laura Adney
>
> Currently in sstableloader (Cassandra version 1.2) there is not a way to specify an action
for a field that is a collection.  So an update parameter might be useful in some cases where
you dont want to overwrite the collection in a row, but you want to add what ever is coming
in, into the collection.
> So in cqlsh you would do:
> UPDATE users
>   SET emails = emails + {'fb@friendsofmordor.org'} WHERE user_id = 'frodo';
> Is there a way to emulate that with the bulk loader?



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

Mime
View raw message