Pig Script works fine on grunt shell but same query not working on hue pig editor


#1

input file content
raj,100
rajesh,79

Grunt shell
grunt> data = load ‘/user/flumeng1576916/input’;
grunt> pigdata = foreach data generate flatten(REGEX_EXTRACT_ALL($0,’(\S+),(\d+)’)) as (name,score);

2018-11-03 22:34:31,259 [main] WARN org.apache.pig.newplan.BaseOperatorPlan - Encountered Warning IMPLICIT_CAST_TO_CHARARRAY 1 time(s).
2018-11-03 22:34:31,259 [main] WARN org.apache.pig.newplan.BaseOperatorPlan - Encountered Warning USING_OVERLOADED_FUNCTION 1 time(s).


On Hue Pig editor
data = load ‘/user/flumeng1576916/input’; // this query is running fine

pigdata = foreach data generate flatten(regex_extract_all($0,’(\S+),(\d+)’)) as (name,score);// failing

showing error like Job was KILLED