Re: saveToCassandra issue. Please help

2017-02-03 Thread shyla deshpande
Thanks Fernando. But I need to have only 1 row for a given user, date with very low latency. So none of your options work for me. On Fri, Feb 3, 2017 at 10:34 AM, Fernando Avalos wrote: > Hi Shyla, > > Maybe I am wrong, but I can see two options here. > > 1.- Do some grouping before insert to

Re: saveToCassandra issue. Please help

2017-02-03 Thread shyla deshpande
Hi All, I wanted to add more info .. The first column is the user and the third is the period. and my key is (userid, date) For a given user and date combination I want to see only 1 row. My problem is that PT0H10M0S is overwritten by PT0H9M30S, even though the order of the rows in the RDD is PT0H