Upcoming Live Demo: Mastering Monitoring. A Step-by-Step Guide to Using Prometheus and Grafana with CrateDB Cloud

Register now
Skip to content
Login
Get CrateDB
Login
Get CrateDB
Home Resources Videos User defined functions

Fundamentals: User Defined Functions

In this video, I show you how to build your own User-Defined Function step-by-step. First, I go through the syntax of the “CREATE FUNCTION” statement. Then, I will show you how to add JavaScript code to the function definition. Finally, I built two User-Defined functions from scratch, one for filtering arrays and another for calculating the distance between two vectors.

Reference:

Subscribe to the CrateDB Newsletter now