What is a UDF in Pig?



What is a UDF in Pig?..

Answer / Naveen Chand

A User Defined Function (UDF) in Apache Pig allows users to define custom functions that can be used within the Pig Latin language. These functions extend the built-in functionality of Pig, enabling users to apply their own logic to the data being processed. UDFs are written in Java or other languages compatible with Hadoop.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

is it posible to join multiple fields in pig scripts?

1 Answers  


Does Pig differ from MapReduce? If yes, how?

1 Answers  


What is the use of BloomMapFile?

1 Answers  


How to write 'foreach' statement for map datatype in pig scripts?

1 Answers  


Explain about the bloommapfile?

1 Answers  


Highlight the difference between group and Cogroup operators in Pig?

1 Answers  


Name the scalar data type and complex data types in Pig?

1 Answers  


Explain the architecture of Hadoop Pig?

1 Answers  


Why should we use ‘distinct’ keyword in Pig scripts?

1 Answers  


What is the difference between logical and physical plans?

1 Answers  


What are the different UDF’s in Pig?

1 Answers  


What is the use of binstorage?

1 Answers  


Categories