Check a user-defined function (UDF)
In cqlsh, the DESCRIBE FUNCTION
command outputs the full details of a user-defined function.
Use the output from the DESCRIBE
command to recreate the UDF.
Prerequisites
Verify that a UDF exists
DESCRIBE FUNCTION cycling.flog;
Results
WARNING: cqlsh was built against 5.0-beta1, but this server is 5.0. All features may not work!
CREATE FUNCTION cycling.flog(input double)
CALLED ON NULL INPUT
RETURNS double
LANGUAGE java
AS $$ return Double.valueOf(Math.log(input.doubleValue())); $$;
See also: