ggayapu / hive-extension-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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;

About


Languages

Language:Java 100.0%