Dear community, I am using Cassandra Stress Tool and trying to simulate IoT generated data. So I created a column family with the device_id as the partition key.
But in every different operation (the parameter received in the -n option) the generated values are the same. For instance, I have a column called observation_time which is supposed to be the time measured by the sensor. But in every partition the values are equal. Is there a way to make those values be randomically generated with different seeds? I need this way so that if the same device_id occurs again, it makes an INSERT instead of an UPSERT. To clarify: What is happening now (fictional data): operation 1 device 1 ts1: 01/01/1970 ts2: 02/01/1980 ts3: 03/01/1990 operation 2 device 2 ts1: 01/01/1970 ts2: 02/01/1980 ts3: 03/01/1990 What I want: operation1 device 1 ts1: 01/01/1970 ts2: 02/01/1980 ts3: 03/01/1990 operation2 device 2 ts1: 02/01/1971 #Different values here. ts2: 05/01/1982 ts3: 08/01/1993 Thanks in advance, Lucas Benevides