UDFs can be implemented in any of the following APIs:
The following tutorials detail the implementation & execution of distributed User-Defined Functions Overview (UDFs) in the respective APIs. Also provided are examples of UDFs, including a simple table copy and a more complex integration into a machine-learning library's demo program.
Kinetica v5.4 or later
UDFs enabled in /opt/gpudb/core/etc/gpudb.conf
:
enable_procs = true
The system_admin
role (for creating and executing procs) or
Proc Level Permissions (for executing procs). See
Security (User/Role Management) for more information on setting roles and
permissions
User authorization enabled (recommended); see Security Configuration section for details
Kinetica UDF APIs; these come packaged with the default Kinetica installation, but can be downloaded separately, if developing UDFs without a local Kinetica instance installed
The following chart shows the version compatibilities between the various UDF APIs and a target database server.
Database | C++ | Java | Python |
---|---|---|---|
6.2 | 6.2.0 | 6.2.0 | 6.2.0 |
7.0 | 7.0 | 7.0 | 7.0 |