You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tom van der Woerdt (JIRA)" <ji...@apache.org> on 2015/09/01 10:29:45 UTC

[jira] [Created] (CASSANDRA-10235) Support for queries with extra parentheses

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)