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.
Written by Russ Lankenau
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Hadoop
Authors
devtripper
37.79K
kh1ramatsu
8.992K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#