Hive UDF (User-Defined Functions) in Go.
There is a provided Makefile with all the build targets.
make buildThis creates a hive-udf-in-go-1.0-SNAPSHOT-jar-with-dependencies.jar in the target/ directory.
make test-- register
hive> ADD JAR /path/to/hive-udf-in-go-1.0-SNAPSHOT-jar-with-dependencies.jar;
hive> CREATE TEMPORARY FUNCTION atoi AS 'hive.udf.GenericUDFAtoi';
hive> CREATE TEMPORARY FUNCTION upper AS 'hive.udf.GenericUDFUpper';
SELECT atoi(xxx) FROM xxx;