You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alexandr Gorbachev (JIRA)" <ji...@apache.org> on 2018/01/12 14:37:01 UTC

[jira] [Created] (CASSANDRA-14165) execute_prepared_cql3_query with LIKE not working

Alexandr Gorbachev created CASSANDRA-14165:
----------------------------------------------

             Summary: execute_prepared_cql3_query with LIKE not working
                 Key: CASSANDRA-14165
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14165
             Project: Cassandra
          Issue Type: Bug
            Reporter: Alexandr Gorbachev


Hello ,

I have faced up with following issue.
Seems like LIKE is not supported by 'execute_prepared_cql3_query'.
Is it by desing or somehow it is possible to find a workaroud or to fix this issue?

More details. Query looks like :
SELECT * FROM tabke WHERE a= ? AND b = ? AND c IN (?,?,?,?,?,?,?) AND column LIKE ? ALLOW FILTERING;
Is not working.

If I send directly query in prepare statement.
So actully wihout passing parameters in preare statement, just like plain query,  then this is working:
SELECT * FROM tabke WHERE a= '1' AND b = '2' AND c IN ('3','4') AND column LIKE '%A%' ALLOW FILTERING;

Thank you for help.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org