Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

yuokada/presto-sample-udf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

presto-sample-udf

Build Status Sample UDF Plugin for Presto

How to start Presto UDF

Read the SPI Overview and Functions documentation.

Build

# if mac os
% export JAVA_HOME=`/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java_home -v "1.8"`

% ./mvnw clean compile package

deploy

Copy jar file to plugin dir. And, you restart presto server.

% mkdir /usr/lib/presto/lib/plugin/hello/
% cp target/presto-sample-udf-1.0-SNAPSHOT.jar /usr/lib/presto/lib/plugin/hello/
% /usr/lib/presto/bin/launcher restart

Examples

About

Sample UDF Plugin for Presto

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •