[ 
https://issues.apache.org/jira/browse/CASSANDRA-11067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132796#comment-15132796
 ] 

Pavel Yaskevich commented on CASSANDRA-11067:
---------------------------------------------

[~doanduyhai] I don't disagree on the semantics of "=" and what you have 
presented is exactly how it works right now, I only disagree that we need to 
force people to use LIKE '<term>' where "=" would be rather sufficient because 
LIKE 'term' and "=" although they can have the same meaning not necessarily do 
have it in different circumstances. 

[~jkrupan] I suggest you to at least read the doc doc/SASI.md or even better 
look at the code.

> Improve SASI syntax
> -------------------
>
>                 Key: CASSANDRA-11067
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11067
>             Project: Cassandra
>          Issue Type: Task
>          Components: CQL
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 3.4
>
>
> I think everyone agrees that a LIKE operator would be ideal, but that's 
> probably not in scope for an initial 3.4 release.
> Still, I'm uncomfortable with the initial approach of overloading = to mean 
> "satisfies index expression."  The problem is that it will be very difficult 
> to back out of this behavior once people are using it.
> I propose adding a new operator in the interim instead.  Call it MATCHES, 
> maybe.  With the exact same behavior that SASI currently exposes, just with a 
> separate operator rather than being rolled into =.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to