UDFs are case-sensitive. It should be all caps - SUM Can you please give that a try?
On May 17, 2012, at 8:24 AM, John Morrison <[email protected]> wrote: > Hi, > > I am new to ping and am unable to use pig builtin functions (please see > details below). > > Is this a CLASSPATH issue? > > Any ideas on how to resolve? > > Thanks, > > John > > Details > > ### Line in pig script causing issue > C = foreach B generate flatten($0), sum(lane_nbr) ; > > ### Error message > 2012-05-17 11:15:41,673 [main] ERROR org.apache.pig.tools.grunt.Grunt - \ > ERROR 1070: Could not resolve sum using imports: [, > org.apache.pig.builtin., org.apache.pig.impl.builtin.] > > pig -version > Apache Pig version 0.8.1-cdh3u3 (rexported)
