In the User Defined Functions page, you can upload programmatic functions that you have created to extend the transformation capabilities of Dataprep by Trifacta®.
A user-defined function (UDF) is an externally created function that can be imported into the product for use in your recipe steps.
Tip: By default, UDFs are shared with all users in the project. Users that do not have access privileges on UDFs can still use the functions in Wrangle .
To review specifics about the UDF, click its name. See User Defined Function Details Page.
- Name: Name of the UDF.
- Owner: The user who created the UDF.
- Last Updated: Timestamp for when the UDF was last modified.
Create UDF: Click this button to create a user-defined function.
NOTE: You must have Author-level access to user defined functions to create new UDFs.
See "Create UDF" below.
- Search: Enter a string in the search box. The list of UDFs is updated in real-time.
- Sort: Click the caret next to any column head to sort the list based on the column.
- Context Menu: See below.
Context menu options:
- Edit: Modify the name and description for the UDF.
Rename: Rename your user-defined function.
NOTE: UDF names must be unique within the project or workspace. Name changes are propagated to the recipe steps where they are referenced.
Duplicate: Create a copy of the user-defined function.
Transfer ownership: (Available to owner or admin only) Transfer ownership of this asset to another user. See Transfer Asset Ownership.
Delete: Delete the UDF.
NOTE: Before deleting, you should review the Used In tab to remove references to the UDF. When a UDF is deleted, any recipe steps that use it are broken.
Deleting a UDF cannot be undone.
- In the User Defined Functions page, click Create UDF.
- Name: The name of your function must be unique within the workspace. Avoid using names that correspond to keywords in Wrangle .
- Description: Enter a text description for your function.
- In the Create UDF window:
Paste in the script for your user-defined function.
Tip: Elements of your syntax are automatically validated for you. You must fix these errors before saving.
- Click Validate. Fix any errors.
- To create the UDF, click Create.
This page has no comments.