Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-6227

Add 'WHERE 0=1', 'WHERE false', in SQL-compatible manner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • None
    • Yii2 PHP framework database abstarction level

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            nsv Sergey Nagaytsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: