Tutorial
The following tutorial details the implementation & execution of distributed User-Defined Functions (UDFs) in the Python API. Also provided are examples of UDFs, including a simple table copy and a more complex integration into a machine-learning library’s demo program.UDF Prerequisites
-
UDFs enabled in /opt/gpudb/core/etc/gpudb.conf:
- User authorization enabled (recommended); see Security Configuration section for details
-
The
system_adminrole (for managing procs) or Proc Level Permissions (for managing procs as a non-admin). See Security (User/Role Management) for more information on setting roles and permissions - Kinetica UDF APIs; these can be downloaded from GitHub. See one of the API references below for installation instructions.