[ https://issues.apache.org/jira/browse/CASSANDRA-8053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237152#comment-14237152 ]
Robert Stupp commented on CASSANDRA-8053: ----------------------------------------- New patch v2 added with following changes: * remove FINALTYPE keyword (STYPE is mandatory) * use separate schema table for aggregates * remove lazy initialization of migrated aggregates (creates "broken" aggregates if referenced state/final function does not yet exist) * minor fix for cqlsh to not include "TOKEN" with tab completion /cc [~thobbs] > Support for user defined aggregate functions > -------------------------------------------- > > Key: CASSANDRA-8053 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8053 > Project: Cassandra > Issue Type: New Feature > Reporter: Robert Stupp > Assignee: Robert Stupp > Labels: cql, udf > Fix For: 3.0 > > Attachments: 8053v1.txt > > > CASSANDRA-4914 introduces aggregate functions. > This ticket is about to decide how we can support "user defined aggregate > functions". UD aggregate functions should be supported for all UDF flavors > (class, java, jsr223). > Things to consider: > * Special implementations for each scripting language should be omitted > * No exposure of internal APIs (e.g. {{AggregateFunction}} interface) > * No need for users to deal with serializers / codecs -- This message was sent by Atlassian JIRA (v6.3.4#6332)