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
WARNING: cqlsh was built against 5.0-beta1, but this server is 5.0. All features may not work!
CREATE AGGREGATE cycling.average(int)
SFUNC average_state
STYPE tuple<int, bigint>
FINALFUNC average_final
INITCOND (0, 0);
See also: