-Processing TSV files using Pig
Jerry Lam 2013-06-06, 21:47
Hi pig users,
I wonder if anyone has experience in processing TSV files with Pig?
Usually a TSV file contains a header line describing the columns. For
---- sample.tsv ----
first_name last_name age
foo bar 1
I want to use the first line of TSV as the schema with chararray as data
type for all fields.
Is there a loader readily available for this kind of scenario?
Johnny Zhang 2013-06-06, 21:58
Jerry Lam 2013-06-07, 20:25