You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Laura Adney (JIRA)" <ji...@apache.org> on 2013/12/07 02:09:36 UTC

[jira] [Created] (CASSANDRA-6460) adjust sstableloader to accept a collection field for update

Laura Adney created CASSANDRA-6460:
--------------------------------------

             Summary: 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.1#6144)