Here’s an example of java udf: GitHub - dremio-hub/dremio-internal-function-example For python udf, see this.