【问题标题】:apache cassandra - Inconsistency between number of records returned and count(*) resultapache cassandra - 返回的记录数与计数(*)结果之间的不一致
【发布时间】:2017-06-13 05:06:08
【问题描述】:

我正在使用 COPY 命令将一些数据导入 Apache Cassandra 的表中。我的 csv 文件中有 7 行。但导入后我只有 1 行而不是 7 行。什么会导致这种不一致? attached is the image of my cqlsh screen

【问题讨论】:

    标签: import cassandra


    【解决方案1】:

    可能的问题:

    • 行的聚类键相同。

    解决办法

    • 尝试添加另一列作为集群键(特定于域),以赋予行唯一性。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-10-22
      • 2011-01-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多