hsprhw
Last Updated: February 25, 2016
·
1.72K
· rlankenau

Parsing fixed-width fields in Apache Pig

I wasn't able to find a LoadFunc on the web that parses fixed-length records, so I wrote a simple one:

https://github.com/rlankenau/fixed-width-pig-loader

I understand that one of the Definitive Guide books has a similar implementation, but it doesn't seem to come up with any of the search terms I expected.