Skip to content

Files

Latest commit

e33bf4c · Apr 23, 2024

History

History
13 lines (9 loc) · 581 Bytes
·

user-defined-functions.md

File metadata and controls

13 lines (9 loc) · 581 Bytes
·

A Pipeline consists of multiple vertices, Source, Sink and UDF(user-defined functions).

User-defined functions (UDF) is the vertex where users can run custom code to transform the data. Data processing in the UDF is supposed to be idempotent.

UDF runs as a sidecar container in a Vertex Pod, processes the received data. The communication between the main container (platform code) and the sidecar container (user code) is through gRPC over Unix Domain Socket.

There are two kinds of processing users can run