【发布时间】:2016-01-14 05:56:26
【问题描述】:
我的 CQL 有问题,cassandra 给了我no viable alternative at input '(' (...WHERE id = ? if [(]...) 错误消息。我觉得我的说法有问题。
UPDATE <TABLE> USING TTL 300
SET <attribute1> = 13381990-735b-11e5-9bed-2ae6d3dfc201
WHERE <attribute2> = dfa2efb0-7247-11e5-a9e5-0242ac110003
IF (<attribute1> = null OR <attribute1> = 13381990-735b-11e5-9bed-2ae6d3dfc201) AND <attribute3> = 0;
你知道问题在陈述中吗?
【问题讨论】:
标签: cassandra cql database nosql