Apache Pig SIZE FunctionThe Apache Pig SIZE function is used to find the number of elements based on any Pig data type. It includes NULL values in size computation. Here, the size is not algebraic. Example of SIZE FunctionIn this example, we compute the number of characters present in the first field of each tuple. Steps to execute SIZE Function
Here, we got the desired output.
Next TopicSUM Function
|