Answer Posted / Gopal Ji
Flatten in Pig is a function that takes a nested data structure (array, tuple, map) as input and converts it into flat data structures (multiple rows with one column). This is particularly useful for processing complex data structures like JSON or XML. The FLATTEN operator allows you to access the elements of a nested data structure and perform operations on them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers