Cassandra | CQL |使用SELECT查询显示未配置的列族错误
我正在尝试创建我的第一个表,并在Cassandra 1.2.15下使用CQL 3查询它。我的问题是,为什么对我现有的表显示未配置的columnfamily错误。这个问题的一些答案是在表名周围加上双引号,但对我来说不起作用。尽可能显示更多信息Cassandra | CQL |使用SELECT查询显示未配置的列族错误,cassandra,cql3,cqlsh,Cassandra,Cql3,Cqlsh,我正在尝试创建我的第一个表,并在Cassandra 1.2.15下使用CQL 3查询它。我的问题是,为什么对我现有的表显示未配置的columnfamily错误。这个问题的一些答案是在表名周围加上双引号,但对我来说不起作用。尽可能显示更多信息 Connected to dev Test Cluster at localhost:9160. [cqlsh 3.1.8 | Cassandra 1.2.15 | CQL spec 3.0.0 | Thrift protocol 19.36.2] Use
Connected to dev Test Cluster at localhost:9160.
[cqlsh 3.1.8 | Cassandra 1.2.15 | CQL spec 3.0.0 | Thrift protocol 19.36.2]
Use HELP for help.
cqlsh> describe keyspace cb_theme_authors
CREATE KEYSPACE cb_theme_authors WITH replication = {
'class': 'SimpleStrategy',
'replication_factor': '1'
};
USE cb_theme_authors;
CREATE TABLE inlucde_authors (
authorid text,
themeid text,
domain text,
PRIMARY KEY (authorid, themeid, domain)
) WITH
bloom_filter_fp_chance=0.010000 AND
caching='KEYS_ONLY' AND
comment='' AND
dclocal_read_repair_chance=0.000000 AND
gc_grace_seconds=864000 AND
read_repair_chance=0.100000 AND
replicate_on_write='true' AND
populate_io_cache_on_flush='false' AND
compaction={'class': 'SizeTieredCompactionStrategy'} AND
compression={'sstable_compression': 'SnappyCompressor'};
cqlsh>
cqlsh>
cqlsh>
cqlsh> use cb_theme_authors;
cqlsh:cb_theme_authors> SELECT * FROM "include_authors";
Bad Request: unconfigured columnfamily include_authors
打字错误?:CF创建为Inlude_作者,但您要求包含_作者。仔细阅读:包括