Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Access to the 
    D s item
  2. IDE
  3. The Java UDF is stored in the

    D s item
     in the following location: libs/custom-udfs-sdk/build/distributions/  


    NOTE: is required for compilation and executing of the unit test. Any JAR files present in , such as trifacta-base-udf.jar, do not need to be packaged in the custom UDF JAR. 


NOTE: If you are installing custom UDFs and the

D s node
does not have an Internet connection, you should download the Java UDF SDK in an Internet-accessible location, build your customer UDF JAR there, and then upload the JAR to the
D s node


Inputs and outputs must be one of the following types:

  • Bool
  • String
  • Long
  • Double

Tip: In most cases, a user-defined function requires an input value. NOTE: If your UDF does not require onean input value, you must create a dummy input as part of your UDF definition.

Known Limitations

  • In the
    D s webapp
    , previews are not available for user-defined functions.
  • Retaining state information across the exec method is unstable. More information is provided below.


    NOTE: When a recipe containing a user-defined function is applied to text data, any null characters cause records to be truncated by the running environment during

    D s photon
    job execution. In these cases, please execute the job in the Spark running environment.