Cassandra Stress - Limit items in the List Data Type

Using cassandra-stress to benchmark ScyllaDB 5.0.

Is there any support to limit number of items in the list?

CREATE TABLE keyspace1.users (
username text,
user_fav_movies list,
PRIMARY KEY (username)

Cassandra-stress table user profile:

  • name: user_fav_movies
    size: fixed(10)
    )

I think this might be what you are looking for:

  - name: user_fav_movies
    size: fixed(10)
    population: uniform(1..10000)
1 Like