Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 155A718219 for ; Thu, 28 Jan 2016 03:36:50 +0000 (UTC) Received: (qmail 37734 invoked by uid 500); 28 Jan 2016 03:36:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 37697 invoked by uid 500); 28 Jan 2016 03:36:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 37679 invoked by uid 99); 28 Jan 2016 03:36:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 03:36:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E8F392C1F5D for ; Thu, 28 Jan 2016 03:36:39 +0000 (UTC) Date: Thu, 28 Jan 2016 03:36:39 +0000 (UTC) From: "Pavel Yaskevich (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11067) Improve SASI syntax MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-11067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120697#comment-15120697 ] Pavel Yaskevich commented on CASSANDRA-11067: --------------------------------------------- [~beobal] I've updated doc/SASI.md with LIKE support and fixed a typo in Cql.g, also I've noticed that loading of the SASI indexes on startup is missing so I've pushed that too into CASSANDRA-11067 branch (and fixed use of IntervalTree on the way) and rebased everything with the latest trunk. > 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)