patch looks good. Since this applies only from 'thrift to pig' and in the other direction, we could make that more obvious in the name.
"elephantbird.pig.thrift.load.enum.as.int"?