'ResultSet'对象没有属性'column_types

Kno*_*uch 5 cassandra

我用我的mac安装了cassandra

homebrew install cassandra
Run Code Online (Sandbox Code Playgroud)

它安装了cassandra版本

[cqlsh 5.0.1 | Cassandra 3.10 | CQL spec 3.4.4 | Native protocol v4]
Run Code Online (Sandbox Code Playgroud)

现在我使用cqlsh连接到cassandra并创建一个键空间和一个表.当我尝试在cqlsh中查询表时.我收到一个错误

'ResultSet' object has no attribute 'column_types
Run Code Online (Sandbox Code Playgroud)

我用谷歌搜索错误并找到了这个

https://groups.google.com/forum/#!msg/nosql-databases/O3kZmk8AoeY/PooBo9uWDQAJ

https://issues.apache.org/jira/browse/CASSANDRA-12799

但我不清楚究竟是什么解决方案......第二个链接似乎表明问题是自动解决的...但对我来说显然不是

小智 2

我只是提交了一个拉取请求,其中修复了自制项目: https: //github.com/Homebrew/homebrew-core/pull/10650