InvalidRequest: code=2200 [无效查询] message="unconfigured table openeventstream"

InvalidRequest: code=2200 [Invalid query] message="unconfigured table openeventstream"

我正在 Python 中尝试从 Cassandra 运行 CQL。但是我得到了这个错误,

InvalidRequest: code=2200 [Invalid query] message="unconfigured table openeventstream"

有谁知道发生了什么事吗?

代码:

session = cluster.connect()
session.set_keyspace('meetup')
rows = session.execute('SELECT *  FROM meetup.openEventStream')
for x in rows:
    print x

Cassandra 将未加引号的文本转换为小写,因此您需要将 table 名称放在引号内:

rows = session.execute('SELECT *  FROM meetup."openEventStream"')