Open jasonpolites opened 12 years ago
The following lines of a pig file are reported as errors:
a = load 'sample.txt' using com.meta.pigudf.JsonLoader() as (json:map[]);
Reported as:
extraneous input 'JsonLoader' expecting '('
This line:
e = foreach d generate group, id, COUNT($1) as count;
Reports multiple errors:
no viable alternative at input '$' no viable alternative at input 'count'
no viable alternative at input '$'
no viable alternative at input 'count'
Finally:
f = filter e by count > 1;
mismatched input '>' expecting '('
The script runs without error in Pig 0.9.2
The following lines of a pig file are reported as errors:
a = load 'sample.txt' using com.meta.pigudf.JsonLoader() as (json:map[]);
Reported as:
extraneous input 'JsonLoader' expecting '('
This line:
e = foreach d generate group, id, COUNT($1) as count;
Reports multiple errors:
no viable alternative at input '$'
no viable alternative at input 'count'
Finally:
f = filter e by count > 1;
Reported as:
mismatched input '>' expecting '('
The script runs without error in Pig 0.9.2