[Solved-1 Solution] How to concatenate all items in Pig ?
What is concat()
- The CONCAT() function of Pig Latin is used to concatenate two or more expressions of the same type.
Syntax
Problem:
How to concatenate all items in Pig ?
Solution 1:
- By using python UDF we can easily achieve this
Here is a code
- It can be used as the following: