gpt4 book ai didi

cassandra - CQL 错误 InvalidRequest : code=2200 [Invalid query] message ="unconfigured table employess"

转载 作者:行者123 更新时间:2023-12-03 22:47:56 27 4
gpt4 key购买 nike

CQL (Cassendra) 非常新。插入记录时出现此错误,

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



这些是发出的命令,我是不是遗漏了什么。 (我正在尝试这个 Cassendra CQL shell)
CREATE KEYSPACE people WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '3'}  AND durable_writes = true;

USE people;
CREATE Table employees(id uuid,name varchar,PRIMARY KEY(id, email));


cqlsh:people> insert into employess (id,name,email) values (now(),'Jon Don','jd@gmail.com');

最佳答案

您拼错了表格:它是 employees , 不是 employess .

关于cassandra - CQL 错误 InvalidRequest : code=2200 [Invalid query] message ="unconfigured table employess",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37319408/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com