Skip to content
Basic structure for building and testing Presto UDF
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
docker-presto-cluster
src/main
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Presto UDF | Gradle | Docker

The framework can be used to write, build and test User Defined Functions for Presto locally. I am using gradle file to build the jar. Find the steps below to build and test the UDF written here.

  • Clone the repo gradle clean build

Once the build is complete, execute the below commands (from the folder where the make file exists)

  • cd docker-presto-cluster
  • make all
  • make run-with-logs If you want to see the logs which will show that your UDF is loaded

Presto UDF installed succesfully

Successful Installation of UDF

Presto UDF tested succesfully

Successful Testing of UDF

Credits

You can’t perform that action at this time.