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 1A5FF10809 for ; Sun, 2 Jun 2013 22:22:21 +0000 (UTC) Received: (qmail 67552 invoked by uid 500); 2 Jun 2013 22:22:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 67532 invoked by uid 500); 2 Jun 2013 22:22:21 -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 67523 invoked by uid 99); 2 Jun 2013 22:22:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 22:22:20 +0000 Date: Sun, 2 Jun 2013 22:22:20 +0000 (UTC) From: "Vijay (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5576) CREATE/DROP TRIGGER in CQL 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-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672699#comment-13672699 ] Vijay commented on CASSANDRA-5576: ---------------------------------- Alright i have pushed the changes to https://github.com/Vijay2win/cassandra/commits/5576 The trigger schematics is as follows: {code} CREATE TRIGGER index_logger ON "Keyspace1"."Standard1" EXECUTE ('org.apache.cassandra.triggers.InvertedIndex', 'org.apache.cassandra.triggers.LogColumnUpdates'); DROP TRIGGER index_logger ON "Keyspace1"."Standard1"; {code} CLI {code} update column family Standard1 with triggers='{"test":["org.apache.cassandra.triggers.InvertedIndex","org.apache.cassandra.triggers.LogColumnUpdates"]}'; {code} > CREATE/DROP TRIGGER in CQL > -------------------------- > > Key: CASSANDRA-5576 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5576 > Project: Cassandra > Issue Type: Bug > Components: API, Core > Reporter: Jonathan Ellis > Assignee: Vijay > Fix For: 2.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira