有没有办法使用cassandra stress插入csv文件数据?

Is there any way to insert csv file data using cassandra stress?

我已经使用 yaml 文件探索了 cassandra 压力工具,它工作正常。我只是想知道我们是否可以通过它在 yaml 配置文件中指定任何外部 csv 文件的位置,以使用 cassandra 压力将数据插入 Cassandra table?

所以我想查看此数据模型上特定数据负载的 cassandra 压力测试结果,而不是随机数据?

标准cassandra-stress没有这样的功能,但是你可以使用NoSQLBench tool that was recently open sourced by DataStax. It also uses YAML to describe workloads, but it's much more flexible, and has a number of functions for sampling data from CSV files

P.S。还有一个单独的 Slack workspace for this project (to get invite, fill this form)