Closed muzarski closed 3 months ago
v2: rebased on master
v2.1: I addressed some of the review comments in the code.
There are still some things to be discussed. ping @wprzytula
@wprzytula I decided to implement unit tests for other types as well. When it comes to varint
and decimal
types, I'll make use of num_bigint
and bigdecimal
crates respectively (only introduced as dev-dependencies
).
v3: implemented unit tests for the types.
Rebased on master
Fix: https://github.com/scylladb/cql-stress/issues/78
This PR introduces generator for simple types. These types do not depend on nesting the generators. For more complex types, the
Generator
struct andValueGenerator
trait will need to be refactored a bit.List of the CQL types that I implemented the generators for:
text
tinyint
smallint
int
bigint
boolean
float
double
inet
varint
decimal
uuid
For each type, there is a corresponding test case added to CI.