Checking a user-defined aggregate (UDA)
In cqlsh, the DESCRIBE AGGREGATE
command outputs the full details of a user-defined aggregate.
Use the output from the DESCRIBE
command to recreate the UDA.
Prerequisites
Verify that a UDA exists
+
DESCRIBE AGGREGATE cycling.average;
Results
CREATE AGGREGATE cycling.average(int)
SFUNC average_state
STYPE tuple<int, bigint>
FINALFUNC average_final
INITCOND (0, 0);
CREATE AGGREGATE cycling.average(int)
SFUNC average_state
STYPE tuple<int, bigint>
FINALFUNC average_final
INITCOND (0, 0);
See also: