cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7395) Support for pure user-defined functions (UDF)
Date Mon, 23 Feb 2015 21:47:17 GMT


Robert Stupp commented on CASSANDRA-7395:

bq. UDF the ORDER BY

No. You cannot apply any "custom" ordering. C* currently allows ordering on the clustering
key column(s).
OTOH it's possible to insert values processed by a UDF - e.g. {{insert into comp_key (part_key,
clust_key, val) values (1, somefunction(2), 'three');}} - but that's nothing you couldn't
do without UDFs :)

> Support for pure user-defined functions (UDF)
> ---------------------------------------------
>                 Key: CASSANDRA-7395
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Robert Stupp
>              Labels: client-impacting, cql, docs-impacting
>             Fix For: 3.0
>         Attachments: 7395-dtest.txt, 7395.txt, udf-create-syntax.png, udf-drop-syntax.png
> We have some tickets for various aspects of UDF (CASSANDRA-4914, CASSANDRA-5970, CASSANDRA-4998)
but they all suffer from various degrees of ocean-boiling.
> Let's start with something simple: allowing pure user-defined functions in the SELECT
clause of a CQL query.  That's it.
> By "pure" I mean, must depend only on the input parameters.  No side effects.  No exposure
to C* internals.  Column values in, result out.

This message was sent by Atlassian JIRA

View raw message