Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Reading fixed width files in pig


Copy link to this message
-
Re: Reading fixed width files in pig
Віталій Тимчишин 2012-11-06, 13:59
Sorry for late response, but in case you still need it.
I've used regular expression loader for such task.
The regexp would look something like
^(.{12})(.{10})$
for fields of width 12 and 10

2012/10/23 ranjith raghunath <[EMAIL PROTECTED]>

> Team,
>
> Are any out of the box load functions for fixed width files?
>

--
Best regards,
 Vitalii Tymchyshyn