What is the use of foreach operation in Pig scripts?
Answer Posted / Nidhish Paty Sahay
The FOREACH operation in Pig is used to iterate over each row or field of a relation and perform an action on it. It can be used for transforming data, applying user-defined functions (UDFs), or generating new relations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers