kevinweil/elephant-bird — pull request #242 by rangadi (2012-09-11 09:09:48+00:00)
Title: Null values in protobuf to pig

while making a tuple from a protobuf, we unnecessarily checked if a specific field is 'set'. This is incorrect since message.getField() returns the value set or the default value.

also, because of this unnecessary check, getFieldValue() returned NULL and caused NPE. The patch handles NULL, though they are not really expected from a protobuf (JavaDoc does not guarantee it though).