Upcoming live webinar on October 13: How Bitmovin improves the streaming experience with real-time analytics.

Join
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 Crate.io Newsletter now