Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


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)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB