[ 
https://issues.apache.org/jira/browse/CASSANDRA-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vijay updated CASSANDRA-5578:
-----------------------------

    Attachment: 0001-CASSANDRA-5578.patch

Attached patch uses CDL text and also i fixed a bug where the earlier 
implementation did not allow removing the trigger.

CLI Example:
[default@Keyspace1] update column family Standard1 with 
trigger_classes='org.apache.cassandra.triggers.LogColumnUpdates';
8335a76e-606c-3646-99ee-ee005199d5df
[default@Keyspace1] update column family Standard1 with trigger_classes='';
2dc26f35-58b3-3e7a-899a-355c8bd34cc5


CQL Example:
cqlsh:Keyspace1> ALTER TABLE "Standard1" with trigger_classes = 
'org.apache.cassandra.triggers.LogColumnUpdates,org.apache.cassandra.triggers.InvertedIndex';
cqlsh:Keyspace1> ALTER TABLE "Standard1" with trigger_classes = '';             
cqlsh:Keyspace1> 

                
> update trigger schema to use Set instead of CDL text
> ----------------------------------------------------
>
>                 Key: CASSANDRA-5578
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5578
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0
>            Reporter: Jonathan Ellis
>            Assignee: Vijay
>             Fix For: 2.0
>
>         Attachments: 0001-CASSANDRA-5578.patch
>
>
> Should probably name column {{trigger_classes}} or just {{triggers}} too.
> (See 
> https://issues.apache.org/jira/browse/CASSANDRA-3919?focusedCommentId=13604931&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13604931
>  for why adding pseudo-collections will make life harder as we upgrade.)

--
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

Reply via email to