<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>User-Defined Function Implementation on Kinetica Docs</title><link>/7.1/udf/</link><description>Recent content in User-Defined Function Implementation on Kinetica Docs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/7.1/udf/index.xml" rel="self" type="application/rss+xml"/><item><title>C++ UDF API</title><link>/7.1/udf/cpp/writing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/cpp/writing/</guid><description>The information below includes all the information one needs to know to begin writing UDFs using the C++ UDF API. For more information on executing C++ UDFs, see &lt;a href="/7.1/7.1/udf/cpp/running/">Running C&amp;#43;&amp;#43; UDFs&lt;/a>.
Dependencies Initializing Column Types Reading Input Data Accessing Input Values Request Info Keys Writing Output Data Setting Output Values Status Reporting Complete Logging Dependencies To begin writing C++ UDFs, access to the Kinetica C++ UDF API is required. In default Kinetica installations, the C++ UDF API is located in the /opt/gpudb/udf/api/cpp directory.</description></item><item><title>Concurrency Limits</title><link>/7.1/udf/concurrency_limits/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/concurrency_limits/</guid><description>Concurrency Limits The max_concurrency_per_node setting is available in the options map of the /create/proc. This option allows you to define a per-Kinetica- host concurrency limit for a UDF, i.e. no more than n OS processes (UDF instances) in charge of evaluating the UDF will be permitted to execute concurrently on a single Kinetica host. You may want to set a concurrency limit if you have limited resources (like GPUs) and want to avoid the risks of continually exhausting your resources.</description></item><item><title>Python UDF API</title><link>/7.1/udf/python/writing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/python/writing/</guid><description>The information below includes all the information one needs to know to begin writing UDFs using the Python UDF API. For more information on running Python UDFs, see Running Python UDFs.
Dependencies UDF API Installation Python UDF Function Environments Pre-installed Libraries on the Cluster Initializing Column Types Reading Input Data Accessing Input Values Request Info Keys Writing Output Data Setting Output Values Status Reporting Complete Logging Dependencies To begin writing Python UDFs, access to the Kinetica Python UDF API is required.</description></item><item><title>Running C++ UDFs</title><link>/7.1/udf/cpp/running/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/cpp/running/</guid><description>The information below includes all information one needs to know to begin running C++ UDFs. For more information on writing C++ UDFs, see &lt;a href="/7.1/7.1/udf/cpp/writing/">C&amp;#43;&amp;#43; UDF API&lt;/a>; for more information on simulating running UDFs, see &lt;a href="/7.1/7.1/udf/simulating_udfs/">UDF Simulator&lt;/a>. Example C++ UDFs can be found here.
Important
Though any of the native APIs, SQL, or GAdmin can be used for deploying and executing UDFs written in any UDF API language, all the examples below are written using the native Python API for convenience.</description></item><item><title>Running Python UDFs</title><link>/7.1/udf/python/running/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/python/running/</guid><description>The information below includes all information one needs to know to begin running Python UDFs. For more information on writing Python UDFs, see Python UDF API; for more information on simulating running UDFs, see UDF Simulator. Example Python UDFs can be found here.
Important
Though any of the native APIs, SQL, or GAdmin can be used for deploying and executing UDFs written in any UDF API language, all the examples below are written using the native Python API for convenience.</description></item><item><title>UDF Simulator</title><link>/7.1/udf/simulating_udfs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/7.1/udf/simulating_udfs/</guid><description>The UDF simulator simulates the mechanics of the /execute/proc call without the UDF actually having to be created in the database. The simulator reads data out of tables, writes it to files in the correct format, and provides the environment variable that needs to be set for the UDF API. After the UDF code is run, it can optionally read any output that was written and write it back into Kinetica.</description></item></channel></rss>