Re: UDF help

2010-11-02 Thread Tim Robertson
Thanks Edward. I'll poke around there. On Tue, Nov 2, 2010 at 6:40 PM, Edward Capriolo wrote: > On Tue, Nov 2, 2010 at 12:47 PM, Tim Robertson > wrote: >> Hi all, >> >> Is the following a valid UDF please? >> >> When I run it I get the following so I presume not: >> hive> select toGoogleCoord

Re: UDF help

2010-11-02 Thread Edward Capriolo
On Tue, Nov 2, 2010 at 12:47 PM, Tim Robertson wrote: > Hi all, > > Is the following a valid UDF please? > > When I run it I get the following so I presume not: > hive> select toGoogleCoords(latitude,longitude,1) from > raw_occurrence_record limit 100; > FAILED: Error in semantic analysis: > java.

UDF help

2010-11-02 Thread Tim Robertson
Hi all, Is the following a valid UDF please? When I run it I get the following so I presume not: hive> select toGoogleCoords(latitude,longitude,1) from raw_occurrence_record limit 100; FAILED: Error in semantic analysis: java.lang.IllegalArgumentException: Error: name expected at the position 7 o