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/01/05 19:51:39 UTC
[jira] [Resolved] (CASSANDRA-9253) Bind markers should be allowed
in function arguments of Selectors
[ https://issues.apache.org/jira/browse/CASSANDRA-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp resolved CASSANDRA-9253.
-------------------------------------
Resolution: Duplicate
Just tripped over this ticket, which is addressed in CASSANDRA-10783. So resolving as duplicate.
> Bind markers should be allowed in function arguments of Selectors
> -----------------------------------------------------------------
>
> Key: CASSANDRA-9253
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9253
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Michaël Figuière
> Priority: Minor
>
> As a complement to CASSANDRA-9243, bind markers should be allowed as an argument of a function call in {{SELECT}} statements' selectors.
> Currently, executing the following code:
> {code}
> session.prepare("SELECT k, f(v, ?) FROM * t1;");
> {code}
> Returns the following error:
> {noformat}
> Bind variables cannot be used for keyspace names
> {noformat}
> Bind markers are currently supported as functions arguments when used in {{INSERT}} and {{UPDATE}} statements as well as in {{SELECT}} statements' {{WHERE}} clauses. The fact that they're not supported in selectors is therefore inconsistent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)