我的项目使用的是“锡拉”数据库和python Cassandra驱动程序,我在每个查询上都使用了prepared语句,而且它也起作用了,但是当我在物化视图上使用prepared语句时,它没有返回任何结果,您能帮我一下吗,还有什么限制吗?在
这是我的计划
CREATE TABLE channelfollowers(
channelid bigint,
userid bigint,
isfavorite boolean,
isBlocked boolean,
followDate bigint,
PRIMARY KEY(userid,channelid,followDate));
CREATE MATERIALIZED VIEW favoriteChannels
AS SELECT channelid, userid, isfavorite
FROM channels.channelfollowers
WHERE channelid IS NOT NULL and userid IS NOT NULL and isfavorite IS NOT NULL
PRIMARY KEY (isfavorite,userid,channelid,followDate);
“锡拉”中的物化视图仍处于实验阶段,因此有些警告适用。您是否正在查询在创建物化视图之前插入的数据?如果是,那么当前数据不会传播到视图。在
相关问题 更多 >
编程相关推荐