当我尝试创建索引时,它会显示“不支持".如果我尝试仅按PK以外的字段进行检索-它将失败 [英] When I try to create a Index, it says 'Not Supported'. If I try to retrieve only by field other than PK - it fails
问题描述
推荐答案
嗨Nishant,
Hi Nishant,
感谢您与我们联系.您能否确认在Cassandra SDK或Azure门户中遇到的以下错误?
Thanks for reaching out to us. Could you please confirm the below error which you are facing is in Cassandra SDK or Azure portal.
If I try to retrieve only by user_name - it gives 'If you want to execute this query despite the performance unpredictability, use ALLOW FILTERING'.
此外,下面是一些文档的链接,这些文档可能会帮助您解决此问题.
Also, below are the links of few documents which might help you resolving this issue.
https://dzone.com/articles/apache-cassandra-and-allow-filtering
https://dzone.com/articles/apache-cassandra-and-allow-filtering
http://cassandra.apache.org/doc/latest/cql/dml.html?highlight=allow%20filtering
http://cassandra.apache.org/doc/latest/cql/dml.html?highlight=allow%20filtering
您可以尝试一下吗?
如有任何疑问,请告知我们.
Please let us know in case of any concerns.
谢谢
这篇关于当我尝试创建索引时,它会显示“不支持".如果我尝试仅按PK以外的字段进行检索-它将失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!