You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2016/07/08 18:14:11 UTC

[jira] [Created] (CASSANDRA-12154) "SELECT * FROM foo LIMIT ;" does not error out

Robert Stupp created CASSANDRA-12154:
----------------------------------------

             Summary: "SELECT * FROM foo LIMIT ;" does not error out
                 Key: CASSANDRA-12154
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12154
             Project: Cassandra
          Issue Type: Bug
          Components: CQL
            Reporter: Robert Stupp
            Priority: Minor


We found out that {{SELECT * FROM foo LIMIT ;}} is unanimously accepted and executed but it should not.

Have not dug deeper why that is possible (it's not a big issue IMO) but it is strange. Seems it doesn't parse {{LIMIT}} as {{K_LIMIT}} because otherwise it would require an int argument.



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