cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Nagaytsev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6227) Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner
Date Fri, 01 Nov 2013 10:13:17 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Nagaytsev updated CASSANDRA-6227:
----------------------------------------

    Issue Type: Bug  (was: New Feature)

> Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner
> --------------------------------------------------------
>
>                 Key: CASSANDRA-6227
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6227
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Yii2 PHP framework database abstarction level
>            Reporter: Sergey Nagaytsev
>              Labels: cql3
>
> Then DBAL thinks query result must be empty, it's deep inner method returns something
like '0=1', 'FALSE' etc. for inclusion into WHERE condition, to make result set empty.
> Nothing of this is recognised by Cassandra - instead, error is returned.
> Please, implement 'false', 'null', constant comparison etc. as valid parts of WHERE with
logic



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message