Load only a few values from complex JSON object in Pig Latin
问题 I have a complex JSON file that looks like this: http://pastebin.com/4UfadbqS I would like to load only several values from these JSON objects using Pig Latin. I tried doing that like this: mydata = LOAD 'data.json' USING JsonLoader('id:chararray, created_at:chararray, user: {(language:chararray)}’); STORE mydata INTO 'output'; But it seems that Pig Latin is just taking the first 3 values from the JSON and saving them (it does not recognize the column name as a key). Is there a way to achieve