【发布时间】:2022-01-10 06:30:20
【问题描述】:
有一个带有列的 cassandra 表“产品”(id int 主键,名称文本 price int)。
有一个名为 products.json
的文件
我需要将指定的 json 数据(来自 products.json 文件)插入 Cassandra 表“产品”的命令。
我正在使用 cassandra cqlsh 环境。
【问题讨论】:
有一个带有列的 cassandra 表“产品”(id int 主键,名称文本 price int)。
有一个名为 products.json
的文件
我需要将指定的 json 数据(来自 products.json 文件)插入 Cassandra 表“产品”的命令。
我正在使用 cassandra cqlsh 环境。
【问题讨论】: