Skip to content

Commit 86a08f6

Browse files
committed
updated wording
1 parent 9bb7a52 commit 86a08f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

doc/distributed_python/usage.rst

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Creating and running UDFs
22
-------------------------
33

4-
For best performance, we recommend that you create a script using CREATE SCRIPT and then use this script within a SELECT statement. Embedding the script within SQL in this way provides the best performance and scalability.
5-
64
In the CREATE SCRIPT command, you must define the type of input and output values.
75
There are two types of UDF inputs (set and scalar) and two types of UDF outputs (returns and emits).
86
These can be combined as needed to suite your use case.
@@ -19,7 +17,6 @@ These can be combined as needed to suite your use case.
1917

2018
- **EMITS** Specifies that the script can create (emit) multiple result rows (tuples).
2119

22-
You can define the data types of input and output parameters to specify the conversion between internal data types and the database SQL data types. If you do not specify the data types, the script has to handle that dynamically.
2320
Each UDF script must contain the main function run(). This function is called with a parameter providing access to the input data of Exasol. If your script processes multiple input tuples (using SET), you can iterate through the single tuples using this parameter.
2421
You can specify an ORDER BY clause either when creating a script or when calling it. This clause sorts the processing of the groups of SET input data. If it is necessary for the algorithm, you should specify this clause when creating the script to avoid wrong results due to misuse.
2522

0 commit comments

Comments
 (0)