Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 509 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 509 Bytes

Hive UDF Examples

This code accompanies this article which walks through creating UDFs in Apache Hive.

Compile

mvn compile

Test

mvn test

Build

mvn assembly:single

Run

%> hive
hive> ADD JAR /path/to/assembled.jar;
hive> create temporary function hello as 'com.matthewrathbone.example.SimpleUDFExample';
hive> select hello(firstname) from people limit 10;