Skip to content

spespe/UDF_reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

UDF_reference

To use the reference udf:

  1. Create a folder containing the jar file in the unix environment;

  2. ADD JAR path/reference.jar;

  3. ADD FILE reference_file.txt;

  4. LIST JARS; //verify the jar

  5. LIST FILES; //verify the reference file

  6. CREATE TEMPORARY FUNCTION reference AS 'pkg.UDFReference';

Then use the udf inside hive passing the file added to the hadoop distributed cache as second argument.

About

Hive UDF in Java to reference a row in a file saving an hashmap into memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages