cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom van der Woerdt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10235) Support for queries with extra parentheses
Date Tue, 01 Sep 2015 08:29:45 GMT
Tom van der Woerdt created CASSANDRA-10235:
----------------------------------------------

             Summary: Support for queries with extra parentheses
                 Key: CASSANDRA-10235
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10235
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Tom van der Woerdt


Currently, Cassandra does not support queries that have top-level parentheses around them
:

{noformat}
select * from table where (a = 1 and b = 2);
{noformat}

One could argue that these are pointless here, but some automated ORM code may output these
assuming that the database will handle them properly.

Since Cassandra does not support OR, it could just ignore these parentheses and have compatibility
with those ORMs again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message