【发布时间】:2014-11-26 21:25:52
【问题描述】:
这个查询:
select columnfamily_name from system.schema_columnfamilies
where keyspace_name='system'
在 Cassandra 2.1 中有空结果,在 2.0 中它返回表名:
IndexInfo
NodeIdInfo
batchlog
compaction_history
compactions_in_progress
hints
local
paxos
peer_events
peers
range_xfers
schema_columnfamilies
schema_columns
schema_keyspaces
schema_triggers
sstable_activity
有没有办法在 Cassandra 2.1 中列出系统表的名称?
【问题讨论】:
-
我刚刚对我的 2.1.2 安装运行了完全相同的查询,它返回了表名。您使用的是哪个版本,这是升级版吗?
-
在 windows 上全新安装。
标签: cassandra