cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12154) "SELECT * FROM foo LIMIT ;" does not error out
Date Sun, 31 Jul 2016 15:12:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401182#comment-15401182
] 

Robert Stupp commented on CASSANDRA-12154:
------------------------------------------

Oh! Good catch, [~ethx]!

Found a similar one for {{jsonValue}}.

Patches for 3.0 and trunk here:
||cassandra-3.0|[branch|https://github.com/apache/cassandra/compare/cassandra-3.0...snazy:12154-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-3.0-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-3.0-dtest/lastSuccessfulBuild/]
||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:12154-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-trunk-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-12154-trunk-dtest/lastSuccessfulBuild/]


> "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
>            Assignee: Mahdi Mohammadi
>            Priority: Minor
>              Labels: lhf
>
> 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)

Mime
View raw message