I am having hard time representing the below JSON in Pig. All I need is either a bag or a tuple of toppings.
{ "Toppings":[ "Barbecue Sauce", "Chicken", "Cheese" ] } I've tried the below (and other variations) with no luck. Appreciate some help. data = LOAD '/user/hue/data/toppings.json' USING JsonLoader('Toppings:bag{t:tuple(chararray)}'); DUMP data; Regards.