I can suggest 3 options
1. you can use JUnit test to test your UDF (e.g. TestGenericUDFLastDay)
2. you can create q file and test your UDF via mvn (look at udf_last_day.q)
mvn clean install -DskipTests -Phadoop-2
cd itest/qtest
mvn test -Dtest=TestCliDriver -Dqfile=udf_last_day.q
-Dtest.output.ov
Hi,
I'm developing a new UDF.
I want to be able to test the new jar as I develop without having to copy
the Jar up to HDFS every time I change code and recompile the Jar.
I'm using Hive CLI for testing, and adding this command:
add jar 'file:///home/abohr/test/hive-udf-1.0-SNAPSHOT.jar';
I've als