Open akhld opened 10 years ago
Streaming or non streaming. Can you split the project please. On 9 Jun 2014 07:48, "Akhil Das" notifications@github.com wrote:
UDF output is not proper, it is operating on the first column even if you specify some other column
Eg: REGISTER /home/akhld/mobi/temp/pig/demo/tutorial.jar; A = load 'hdfs://localhost:9000/input/' USING PigStorage('\t') AS (user:chararray, time:int, query:chararray); B = FOREACH A GENERATE org.apache.pig.tutorial.ToLower(query) as query; STORE B INTO '/tmp/query';
Fails to Operate on "query" column, but the processing happens on "user" column.
— Reply to this email directly or view it on GitHub https://github.com/sigmoidanalytics/pig/issues/4.
In both its having that issue. Assigned labels
UDF output is not proper, it is operating on the first column even if you specify some other column
Eg: REGISTER /home/akhld/mobi/temp/pig/demo/tutorial.jar; A = load 'hdfs://localhost:9000/input/' USING PigStorage('\t') AS (user:chararray, time:int, query:chararray); B = FOREACH A GENERATE org.apache.pig.tutorial.ToLower(query) as query; STORE B INTO '/tmp/query';
Fails to Operate on "query" column, but the processing happens on "user" column.