Skip to content

Commit

Permalink
Fixed presto UDF patch broken link (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: Sushant Raikar <[email protected]>
  • Loading branch information
Sushant Raikar and Sushant Raikar authored Mar 12, 2020
1 parent edd7db6 commit 50326fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/using-transport-udfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ If the UDF class is `com.linkedin.transport.example.ExampleUDF` then the platfor
Unlike Hive and Spark, Presto currently does not allow dynamically loading jar files once the Presto server has started.
In Presto, the jar is deployed to the `plugin` directory.
However, a small patch is required for the Presto engine to recognize the jar as a plugin, since the generated Presto UDFs implement the `SqlScalarFunction` API, which is currently not part of Presto's SPI architecture.
You can find the patch [here](transportable-udfs-documentation/transport-udfs-presto.patch) and apply it before deploying your UDFs jar to the Presto engine.
You can find the patch [here](transport-udfs-presto.patch) and apply it before deploying your UDFs jar to the Presto engine.
2. Call the UDF in a query
To call the UDF, you will need to use the function name defined in the Transport UDF definition.
Expand Down

0 comments on commit 50326fe

Please sign in to comment.