Retrieval using a user-defined function (UDF) 

Using the SELECT command to return data and applying a UDF.

The SELECT command can be used to retrieve data from a table while applying a user-defined function (UDF) to it.

Procedure

Use the user-defined function (UDF) fLog() created previously to retrieve data from a table cycling.cyclist_points.
cqlsh> SELECT id, lastname, fLog(race_points) FROM cycling.cyclist_points;