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

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


+
ranjith raghunath 2012-10-23, 13:03
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
+
Alan Gates 2012-10-26, 22:42
+
ranjith raghunath 2012-10-26, 23:36