Drop a user-defined aggregate (UDA)
Use the DROP AGGREGATE
command to drop a UDA.
The following example drops the avgState
aggregate.
The conditional option IF EXISTS
can be included to silently ignore the command if the named function doesn’t exist in the keyspace.
Otherwise, an error is returned if the function doesn’t exist.
DROP AGGREGATE IF EXISTS cycling.average;