|
|
+
JAGANADH G 2012-10-03, 16:49
+
Alan Gates 2012-10-03, 19:47
-
Re: Loading text fileSiddharth Tiwari 2012-10-04, 06:43
You will have to write your own loader. You will have to modify the InputFormat which uses \n \r or EOF as split delimiter.
-----JAGANADH G <[EMAIL PROTECTED]> wrote: ----- To: [EMAIL PROTECTED] From: JAGANADH G <[EMAIL PROTECTED]> Date: 10/03/2012 10:20PM Subject: Loading text file Hi All Is there any way to load a text file as single record (text:chararray) in Pig. I am trying to load a bunch of text files from a directory . But it keeps each line as single record. -- ********************************** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you +
Jonathan Coveney 2012-10-04, 21:24
|