Try to use this one as start point: https://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/builtin/PigStorage.java
2014-01-26 leiwang...@gmail.com <leiwang...@gmail.com> > > Hi, > I want to parse some text file data compressed with .gz format. The > data is not neat. The seperator is not uniq and some records are not > imcomplete. > Anyone can give an examle of how to write the pig Load UDF? > > Thanks, > Lei > > > > > leiwang...@gmail.com