cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5576) CREATE/DROP TRIGGER in CQL
Date Thu, 06 Jun 2013 04:29:20 GMT


Jonathan Ellis commented on CASSANDRA-5576:

bq. I just see no value in being able to bundle several trigger classes under one name 


bq. CREATE TRIGGER indexer ON "Keyspace1"."Standard1" WITH options = {'class': 'org.apache.cassandra.triggers.InvertedIndex'}

-0 -- I see the value of "options" when we introduce parameterization, but having the actual
trigger class be part of that seems odd, since that's something every trigger needs (i.e.
a requirement, not an option or parameter).

So I think I'd prefer to have the EXECUTE syntax, with a single target.  We can add {{WITH
options}} later.  (But I agree that it's a good idea to split the triggers into a separate
system table to make that easier.)
> --------------------------
>                 Key: CASSANDRA-5576
>                 URL:
>             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:

View raw message