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

Switch to Plain View
Pig >> mail # user >> Pig Schema to load the data


+
Koppula, Abhilash Reddy..... 2014-04-04, 23:27
Copy link to this message
-
Re: Pig Schema to load the data
What about this one:
A = load 'data.txt' using PigStorage(' ') as (src:int, out1:int, out2:int);
B = foreach A generate src, TOTUPLE(out1, out2) as t:();
On 04/05/2014 01:27 AM, Koppula, Abhilash Reddy wrote:
 
+
Koppula, Abhilash Reddy..... 2014-04-05, 08:33