将csv文件导入Cassandra

时间:2016-05-18 13:53:19

标签: csv cassandra

我正在使用COPY命令将csv文件中的数据加载到Cassandra表中。使用命令时发生以下错误。

**Command** : COPY quote.emp(alt, high,low) FROM 'test1.csv' WITH HEADER= true ;

错误是:

get_num_processess() takes no keyword argument.

1 个答案:

答案 0 :(得分:1)

这是由CASSANDRA-11574引起的。正如票证评论中所提到的,有一种解决方法:

Move copyutil.c somewhere else. Same thing if you also have a copyutil.so.

您应该可以在pylib/cqlshlib/下找到这些文件。

相关问题