From 652c954eceeed195c1ed288cef42b1957267577c Mon Sep 17 00:00:00 2001 From: Sushant Raikar Date: Thu, 12 Mar 2020 12:56:49 -0700 Subject: [PATCH] Fixed presto UDF patch broken link (#41) Co-authored-by: Sushant Raikar --- .../transport-udfs-presto.patch | 0 docs/using-transport-udfs.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {transportable-udfs-documentation => docs}/transport-udfs-presto.patch (100%) diff --git a/transportable-udfs-documentation/transport-udfs-presto.patch b/docs/transport-udfs-presto.patch similarity index 100% rename from transportable-udfs-documentation/transport-udfs-presto.patch rename to docs/transport-udfs-presto.patch diff --git a/docs/using-transport-udfs.md b/docs/using-transport-udfs.md index 70f06edc..9b4e5f97 100644 --- a/docs/using-transport-udfs.md +++ b/docs/using-transport-udfs.md @@ -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.