Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB