[
https://issues.apache.org/jira/browse/CASSANDRA-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064780#comment-14064780
]
Robert Stupp commented on CASSANDRA-7395:
-----------------------------------------
Thanks Tyler for taking the time to review the stuff.
* Created CASSANDRA-7562 to cover UDFs with Java source
* The syntax changes ({{LANGUAGE}}, {{RETURNS}}) are fine to me.
* {{DROP TYPE}}, too
* Remove bundle and use {{CREATE FUNCTION namespace::function...}} instead is
ok - in fact there's nothing left in the code that really requires bundle
functionality (was necessary in the first annotation based approach). So C*
code and CQL are conceptually closer.
* PK change is ok
* I think it's better to use java driver as is as a dependency - but this may
cause dependency problems with the Spark driver
I'll start with that this evening.
> Support for pure user-defined functions (UDF)
> ---------------------------------------------
>
> Key: CASSANDRA-7395
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7395
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Jonathan Ellis
> Labels: cql
> Fix For: 3.0
>
> Attachments: 7395.txt
>
>
> 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.
> http://en.wikipedia.org/wiki/Pure_function
--
This message was sent by Atlassian JIRA
(v6.2#6252)