Re: Cassandra 3.4 Triggers API

2016-07-29 Thread Siddharth Verma
Hi Jakub, You can read the mail thread on how to extract clustering columns in trigger. https://mail-archives.apache.org/mod_mbox/cassandra-user/201605.mbox/%3CCAAam9ssYf0LvBgJ86M1Phb0ak7=jnh_acoanr8ofov4kvbr...@mail.gmail.com%3E Extracting partition key for the operation is mentioned in the trig

Re: Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
Hi Siddharth, Thank you for answer. Yes this is exactly the same goal that I wish to accomplish, though I was wondering whether it would be possible to access the data of the row that is being inserted so that I would be able to take a snapshot of the entire row. Does anybody knows if that is rea

Re: Cassandra 3.4 Triggers API

2016-07-25 Thread Siddharth Verma
Hi Jakub, I worked with trigger, I was auditing it by time . I considered the following partition keys for the audit table. 1. (timeuuid,uuid) OR, 2. formatted date in groups of 5 minutes 21 March 2015, 13:44:15 -> 201503211340 *Used it to batch operations by a group of minutes.* *Caution : If y

Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
Hi guys, I had been exploring recently the Cassandra Triggers and I think that there are going to be very useful for my use case, though I think that I would need a bit of help with setting it up. I fallow this example and it was been very helpful, my use case is basically similar I want to have