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

Switch to Threaded View
Pig, mail # user - error while registering the udf.


Copy link to this message
-
Re: error while registering the udf.
Andy Schlaikjer 2012-02-22, 18:52
On Wed, Feb 22, 2012 at 2:56 AM, chethan <[EMAIL PROTECTED]> wrote:
>        pigServer.registerQuery("REGISTER " + inputFile + ";");

Add single quotes around the inputFile?:

```
pigServer.registerQuery("REGISTER '" + inputFile + "';");
```