cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6871) Dynamic class loading for triggers (and udfs)
Date Mon, 17 Mar 2014 16:19:51 GMT


Jonathan Ellis commented on CASSANDRA-6871:

Ultimately what I'd like to see is CREATE TRIGGER specify a UDF, with UDF support for multiple
languages a la postgresql, but I'm not sure if this is a step in that direction.  It sounds
like I'd still be shipping jars around, so I'm not sure what you're proposing besides some
kind of groovy support.

Did you mean to provide a link to the branch above?

> Dynamic class loading for triggers (and udfs)
> ---------------------------------------------
>                 Key: CASSANDRA-6871
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
> Currently the trigger feature requires out of band shipping jar files to servers. In
the near future users may be able to provide custom functions like trim() dynamically like
pig and hive do. In order to accomplish this securely my suggestion is this.
> 1. Add a new configuration knob to cassandra.yaml which controls how users are allowed
to load class definitions. 
> {code}
> dynamic_loading:
> {code}
> 2. Add the to the project as a dependency.

> 3. Profit: A follow on piece would allow triggers to be defined in a JVM language. Features
like could use this. Users can also create
different pluggable components to CQL at runtime. 
> This issue would just be about brining the dynamic loading mechanism in the project securely.
Not implementing it in a user facincg way.

This message was sent by Atlassian JIRA

View raw message