Page tree

Versions Compared


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


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.