Available for Enterprise Edition only.
Learn about UDF support in Databricks on our documentation on cluster access modes.
Create UDFs
Prophecy supports creating UDFs written in Python or Scala.Parameters
How to Create UDFs
- Create a new function. You can find the Functions section in the left sidebar of a project page.

- Define the function.

- Call the function.

- Python
- Scala
Import UDFs
UDFs from the Unity Catalog are automatically available in Python projects when you attach to the relevant Databricks fabric. You can call these UDFs from any gem in the project.


