I have an error when execute the test statement
F = foreach D generate flatten(group),SUM(r1.description == 'COLLECTION' ? r1.scoring : null),SUM(r1.lookup_descrition== 'Probability' ? r1.scoring: null);
The error message
2017-01-13 09:12:42,368 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 15, column 66> mismatched input '==' expecting RIGHT_PAREN
Missing a space r1.lookup_descrition==
F = foreach D generate flatten(group),
SUM(r1.description == 'COLLECTION' ? r1.scoring : null),
SUM(r1.lookup_descrition == 'Probability' ? r1.scoring : null);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.