You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2016/03/11 18:31:39 UTC
[jira] [Resolved] (CASSANDRA-6460) adjust sstableloader to accept a
collection field for update
[ 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)