Hi Anil,

I think custom functions within SQL are not supported yet. There is a
separate JIRA for that. You can test by creating a physical plan that uses
your function. An example of physical plan
is: <gitclone>/exec/java-exec/src/test/resources/functions/testSubstring.json.
In the "project" operator change expr from "substr" to your function. Once
you create a physical plan either you can submit it through
"./bin/submit_plan" or write a unittest that submits this plan. I prefer
the latter as you anyway need a unittest that tests your code in order to
submit the patch. Example unittest for testSubstring.json file is:
look at testSubstring.

On Sat, Mar 1, 2014 at 6:16 AM, AnilKumar B <[EMAIL PROTECTED]> wrote:
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