Writing JavaScript UDFs

With JavaScript UDFs (user-defined functions), you can write a JavaScript function and call it as though it were a SQL function.

Introduction to JavaScript UDFs

Learn about JavaScript UDFs, supported data types, arguments and return value, errors, and limitations.

Scalar JavaScript UDFs

Write a handler for a UDF that returns scalar results.

Tabular JavaScript UDFs (UDTFs)

Write a handler for a UDF that returns tabular results.

Troubleshooting JavaScript UDFs

Read troubleshooting tips.

Back to top