User-defined functions (UDFs) and user-defined aggregates (UDAs)
User-defined functions and aggregates examples used in the CQL documentation.
Requires setting the https://docs.datastax.com/en/dse/6.8/dse-admin/datastax_enterprise/config/configCassandra_yaml.html#configCassandra_yamlenable_user_defined_functions[enable_user_defined_functions]
and
https://docs.datastax.com/en/dse/6.8/dse-admin/datastax_enterprise/config/configCassandra_yaml.html#configCassandra_yamlenable_scripted_user_defined_functions[enable_scripted_user_defined_functions]
to true in the |
- flog
-
User-defined function.
- left
-
Create a user-define function that trims row data from the left.
- left
-
Create a user-define function that is an intermediate average state.
- left
-
Create a user-define function that is a final average state.
- Cycling user-defined aggregate team_average
-
Creates a Java user-defined aggregate function that calculates the average of a target column. Uses the
average_state
andaverage_final
functions.