Skip to content
Pig LoadFunc for fixed-width data
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
README.md
pom.xml

README.md

fixed-width-pig-loader

Pig LoadFunc for fixed-width data

Building

$mvn package

Running

Sample pig script for use with this loader:

register 'maprfs:///user/rlankenau/FixedWidthLoader-1.0-SNAPSHOT.jar';

A = load 'maprfs:///user/rlankenau/testfile' using com.mapr.util.FixedWidthLoader('-10','11-15','16-','-');
store A into 'maprfs:///user/rlankenau/outputfile' using PigStorage(',');
Something went wrong with that request. Please try again.