concept udf in category data

appears as: UDFs
Hadoop in Action

This is an excerpt from Manning's book Hadoop in Action.

Pig was designed with many applications in mind—processing log data, natural language processing, analyzing network graphs, and so forth. It’s expected that many of the computations will require custom processing. Pig is architected from the ground up with support for user-defined functions. Knowing how to write UDFs is a big part of learning to use Pig.

10.6.2. Writing UDFs

Pig supports two main categories of UDFs: eval[6] and load/store. We use the load/store functions only in LOAD and STORE statements to help Pig read and write special formats. Most UDFs are eval functions that take one field value and return another field value.