Modifying configuration

To work with user-defined functions, we need to add a configuration option to the cassandra.yaml file. Add the following line to the end of the cassandra.yaml file if the parameter enable_user_defined_functions is not present:

enable_user_defined_functions: true 

If the parameter is present, change the false value to true. The line is pretty self-explanatory. This enables user-defined functions. For the change in configuration to take effect, you will need to restart Cassandra. This is applicable to any configuration change within any configuration file.

Get Learning Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.