Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Invalid
-
version: cassandra 3.7
client: cqlsh
os: debian 7
-
Normal
Description
I can't execute a composite expression as below in cqlsh.
CQL:
SELECT * FROM bbot_extract.item_basic_info
WHERE PART_ID=19 AND ( ITEM_ID < 1901000 OR ITEM_ID >= 1909000) ;
OUTPUT:
SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:85 mismatched input 'OR' expecting ')' (...AND ( ITEM_ID < 1901000 [OR] ITEM_ID...)">
About the table:
Primary key(PART_ID, ITEM_ID, PROPERTY)