You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michaël Figuière (JIRA)" <ji...@apache.org> on 2015/04/28 04:53:07 UTC
[jira] [Created] (CASSANDRA-9253) Bind markers should be allowed in
function arguments of Selectors
Michaël Figuière created CASSANDRA-9253:
-------------------------------------------
Summary: 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)