Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
-
None
-
None
Description
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:
session.prepare("SELECT k, f(v, ?) FROM * t1;");
Returns the following error:
Bind variables cannot be used for keyspace names
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.
Attachments
Issue Links
- depends upon
-
CASSANDRA-9243 Literals should be valid selectors in SELECT statements
- Resolved
- duplicates
-
CASSANDRA-10783 Allow literal value as parameter of UDF & UDA
- Resolved