Home >> Big Data Hadoop >> Pig Built-in functions(EVAL) in Big Data Hadoop

Pig Built-in functions(EVAL) in Big Data Hadoop

AVG() compute the average of the numerical values within a bag.
BagToString() To concatenate the elements of a bag into a string. While concatenating, we can place a delimiter between these values (optional).
CONCAT()To concatenate two or more expressions of same type.
COUNT()To get the number of elements in a bag, while counting the number of tuples in a bag.
COUNT_STAR() It is similar to the COUNT() function. It is used to get the number of elements in a bag.
DIFF()To compare two bags (fields) in a tuple.
IsEmpty()To check if a bag or map is empty.
MAX()To calculate the highest value for a column (numeric values or chararrays) in a single-column bag.
MIN()To get the minimum (lowest) value (numeric or chararray) for a certain column in a single-column bag.

Post Your Comment

Next Questions
Pig Built-in functions
Pig Load &Store Function
Sqoop Prerequisites
Sqoop Installation
Sqoop Topics
What is Sqoop
Sqoop architecture
Sqoop Eval
Sqoop import command
Sqoop import table with columns
Sqoop incremental import
Sqoop import all tables
Sqoop export command
Sqoop import export key word
Sqoop Job
Sqoop Codegen
Sqoop job scheduling
Sqoop cron Job
Sqoop cron job example
Hive Prerequisites
Hive Installation
What is Hive
Hive MapReduce Execution
Features of Hive
Hive Architecture

Copyright ©2022 coderraj.com. All Rights Reserved.