scylladb / cql-stress

10 stars 4 forks source link

c-s/col: c-s compatibility for -col n= parameter #75

Closed muzarski closed 5 months ago

muzarski commented 6 months ago

Fixes: https://github.com/scylladb/cql-stress/issues/73

cassandra-stress supports a distribution syntax for -col n= parameter. However, it only allows the FIXED(?) distribution for cql mode.

Before this commit, cql-stress would accept a u64 value for the value of this parameter.

To make our CLI compatible with c-s (so it can be easily replaced in SCT), we will accept FIXED(<u64>) syntax as well.