Skip to content

Commit ee40c9a

Browse files
committed
Update DEVELOPER_GUIDE.rst
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent 9db0cbb commit ee40c9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

DEVELOPER_GUIDE.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ Developing User-Defined Functions (UDFs)
290290

291291
* Implement the ``ImplementorUDF`` interface
292292
* Instantiate and convert it to a ``SqlOperator`` in ``PPLBuiltinOperators``
293+
* For optimal UDF performance, implement any data-independent logic during the compilation phase instead of at runtime. Specifically, use ling4j expressions for these operations rather than internal static method calls, as expressions are evaluated during compilation.
293294

294295
| ✅ Type Checking for UDFs
295296
- Each ``SqlOperator`` provides an operand type checker via the ``getOperandTypeChecker`` method

0 commit comments

Comments
 (0)