Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> ? ERROR 1070: Could not resolve sum using imports


+
John Morrison 2012-05-17, 15:24
Copy link to this message
-
Re: ? ERROR 1070: Could not resolve sum using imports
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)
+
John Morrison 2012-05-17, 19:32
+
Jonathan Coveney 2012-05-17, 22:31
+
John Morrison 2012-05-18, 01:02
+
Jonathan Coveney 2012-05-18, 01:07
+
John Morrison 2012-05-18, 01:22
+
Jonathan Coveney 2012-05-18, 01:45
+
John Meagher 2012-05-17, 15:40