cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Stump (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6952) Cannot bind variables to USE statements
Date Mon, 31 Mar 2014 16:33:23 GMT

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

Matt Stump commented on CASSANDRA-6952:
---------------------------------------

Can we get a better error message or a note in the docs/spec?

> Cannot bind variables to USE statements
> ---------------------------------------
>
>                 Key: CASSANDRA-6952
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6952
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Matt Stump
>            Priority: Minor
>              Labels: cql3
>
> Attempting to bind a variable for a USE query results in a syntax error.
> Example Invocation:
> {code}
> ResultSet result = session.execute("USE ?", "system");
> {code}
> Error:
> {code}
> ERROR SYNTAX_ERROR: line 1:4 no viable alternative at input '?', v=2
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message