The UDFs are case sensitive. Use SUM and it will work.
On Thu, May 17, 2012 at 11:24 AM, John Morrison <john.h.morri...@gmail.com> 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)