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] [Resolved] (CASSANDRA-9253) Bind markers should be allowed in function arguments of Selectors
Date Tue, 05 Jan 2016 18:51:39 GMT

     [ 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)

Mime
View raw message