Hive User Defined Function in Big Data Hadoop
UDF-User Defined Functions.
There are two different interfaces we can use for writing UDFs for Apache Hive.
The simple API (org.apache.hadoop.hive.ql.exec.UDF) can be used so long as function reads and returns primitive types. By this I mean basic Hadoop & Hive writable types - Text, IntWritable, LongWritable, DoubleWritable, etc.
Writing a UDF that can manipulate embedded data structures, such as Map, List, and Set, then using org.apache.hadoop.hive.ql.udf.generic.GenericUDF
Simple API - org.apache.hadoop.hive.ql.exec.UDF
Complex API - org.apache.hadoop.hive.ql.udf.generic.GenericUDF
Post Your Comment