Is it possible in Cassandra to use multiple conditions union ed together after the where clause in a select statement like in any of the RDBMS. Here is my code :
SELECT * from TABLE_NAME WHERE COND1= 'something' OR COND2 = 'something';
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simple answer: there is no equivalent of OR
http://www.datastax.com/docs/0.8/dml/using_cql
Here is the command reference for v0.8:
http://www.datastax.com/docs/0.8/references/cql#cql-reference
..