Home >> Big Data Hadoop >> Hive User Defined Function in Big Data Hadoop

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

Next Questions
Hive How to Write a User Defined Function
Hive User Defined Aggregate Functions
Hive Performance Tuning
Hive Rank and Over
Hive Directed Acyclic Graph
Hive with Sqoop
How to save hive query output in csv using python
Hive How To Convert External table to Internal table or vice-versa
Hive What is User Defined Function and User Defined Aggregate Function
What are the different components of a Hive architecture
How can you prevent a large job from running for a long time
What is a Hive Metastore
Explain about the different types of join in Hive
How can you configure remote metastore mode with Hive
How data transfer happens from HDFS to Hive
Hbase Vs Hive
Hive What is the use of Hcatalog
Where is table data stored in Apache Hive by default
Hive Difference between partitioning and bucketing
Explain about the different types of partitioning in Hive
How will you read and write HDFS files in Hive
What are the components of a Hive query processor
Differentiate between describe and describe extended
Will the reducer work or not if you use Limit 1 in any HiveQL query

Copyright ©2022 coderraj.com. All Rights Reserved.