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 17B2A117B2 for ; Fri, 29 Aug 2014 18:11:54 +0000 (UTC) Received: (qmail 12379 invoked by uid 500); 29 Aug 2014 18:11:53 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12347 invoked by uid 500); 29 Aug 2014 18:11:53 -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 12276 invoked by uid 99); 29 Aug 2014 18:11:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 18:11:53 +0000 Date: Fri, 29 Aug 2014 18:11:53 +0000 (UTC) From: "Mikhail Stepura (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7847) Allow quoted identifiers for triggers' names 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-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Stepura updated CASSANDRA-7847: --------------------------------------- Reproduced In: 2.0.10 (was: 2.1.1) > Allow quoted identifiers for triggers' names > -------------------------------------------- > > Key: CASSANDRA-7847 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7847 > Project: Cassandra > Issue Type: Bug > Reporter: Mikhail Stepura > Assignee: Mikhail Stepura > Priority: Minor > Fix For: 2.1.0 > > Attachments: CASSANDRA-2.1-7847.patch > > > Current implementation doesn't allow quoted/case sensitive identifiers for triggers' names, and doesn't handle those names in case-insensitive manner either. > {code} > mstepura-mac:cassandra mikhail$ bin/cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.1 | Cassandra 2.1.1-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3] > Use HELP for help. > cqlsh> use stress; > cqlsh:stress> create TRIGGER "ZooZoo" ON t1 USING 'org.apache.cassandra.triggers.InvertedIndex'; > > cqlsh:stress> > cqlsh:stress> > cqlsh:stress> create TRIGGER ZooZoo ON t1 USING 'org.apache.cassandra.triggers.InvertedIndex'; > cqlsh:stress> > cqlsh:stress> > cqlsh:stress> drop TRIGGER zoozoo ON stress.t1 ; > code=2200 [Invalid query] message="Trigger zoozoo was not found" > cqlsh:stress> > cqlsh:stress> > cqlsh:stress> drop TRIGGER "ZooZoo" ON stress.t1 ; > > cqlsh:stress> > cqlsh:stress> > cqlsh:stress> drop TRIGGER ZooZoo ON stress.t1 ; > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)