cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-10235) Support for queries with extra parentheses
Date Thu, 02 Jun 2016 16:50:59 GMT


Aleksey Yeschenko resolved CASSANDRA-10235.
    Resolution: Won't Fix

This has come up before, and every time the resolution is the same: CQL is not SQL, and we
are not going to please a random SQL ORM by adding syntax to CQL that doesn't make sense.

> Support for queries with extra parentheses
> ------------------------------------------
>                 Key: CASSANDRA-10235
>                 URL:
>             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

View raw message