Original c-s allows the user to define custom operations/queries via user command. However, it also predefines two operations - one of them being insert operation. It simply generates a row based on table metadata, and inserts it. Row values can then be validated with validate operation.
Things to do:
adjust user command CLI to support insert operation
implement insert operation logic:
generate a row
insert the row to DB
Notice that insert/validate operations are analogous to write/read operations for the predefined workloads. The difference is that they allow users to work with custom schemas, while write/read workloads only allow blob type as a column type.
Original c-s allows the user to define custom operations/queries via
user
command. However, it also predefines two operations - one of them beinginsert
operation. It simply generates a row based on table metadata, and inserts it. Row values can then be validated withvalidate
operation.Things to do:
user
command CLI to supportinsert
operationinsert
operation logic:Notice that
insert/validate
operations are analogous towrite/read
operations for the predefined workloads. The difference is that they allow users to work with custom schemas, whilewrite/read
workloads only allowblob
type as a column type.