Seems you can find faster response on Cassandra Connector mailing list. On Wed, Feb 3, 2016 at 1:45 PM, FrankFlaherty <frank.flahe...@pega.com> wrote:
> Cassandra provides "BEGIN BATCH" and "APPLY BATCH" to perform atomic > execution of multiple statements as below: > > BEGIN BATCH > INSERT INTO "user_status_updates" > ("username", "id", "body") > VALUES( > 'dave', > 16e2f240-2afa-11e4-8069-5f98e903bf02, > 'dave update 4' > ); > > INSERT INTO "home_status_updates" ( > "timeline_username", > "status_update_id", > "status_update_username", > "body") > VALUES ( > 'alice', > 16e2f240-2afa-11e4-8069-5f98e903bf02, > 'dave', > 'dave update 4' > ); > APPLY BATCH; > > Is there a way to update two or more Cassandra tables atomically using the > Cassandra Connector from Spark? > > Thanks, > Frank > > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Cassandra-BEGIN-BATCH-tp26145.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >