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 Threaded View
Pig >> mail # user >> NEED HELP in PigStorage


Copy link to this message
-
Re: NEED HELP in PigStorage
Sounds like however you wrote the data, it has some sort of a binary
delimiter. Figure out what that delimiter is, and tell PigStorage to
use it. For example:

my_data = load 'path/to/data' using PigStorage('\\u001');

D

On Thu, Oct 11, 2012 at 10:23 AM, yogesh dhari <[EMAIL PROTECTED]> wrote:
>
> Hi All ,
>
> How to load it using PigStorage
> Please find the attachment, if I do copy paste of row here then it shows
> blank boxes between columns. but if I open that file these boxes having
>
> 00
> 01
>
> kind of some numbering inside the the boxes.
>
>
> 7 timesascent.in 2008-08-27 true false false 1
> 8 google.co.in 2008-08-27 false false false 1
> 9 search.live.com 2008-08-27 false false false 1
> 10 ipnetor.com 2008-08-27 false false false 1
> 11 ads.indiatimes.com 2008-08-27 false false false 1
> 12 google.com 2008-08-27 false false false 1
> 13 ms.timesofindia.com 2008-08-27 false false false 1
> 14 google.com.my 2008-08-27 false false false 1
> 15 timesascent.co.in 2008-08-27 false false false 1
>
> these boxes are blanks from inside here.
>
>
>
> Thanks & Regards
> Yogesh Kumar
>
>
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