QuestionQ48

Transform Data

Which callback function must be included in a JavaScript User-Defined Function (UDF) for it to run successfully?

Explanation

For a Snowflake JavaScript tabular UDF (UDTF), the JavaScript object must define processRow(). Snowflake invokes it for each input row; initialize() and finalize() are optional callbacks.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!