Answer Posted / Renu Kohli
The foreach operation is not directly supported in Pig. Instead, you can achieve similar functionality using User-Defined Functions (UDFs) or FOREACH statement in combination with a scripting language like Python, Java, or JavaScript embedded within the Pig script.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers