You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by Manju Rani <vm...@gmail.com> on 2016/08/26 11:23:36 UTC

Need Support in writing Phoenix UDFs

Hi


0down votefavorite
<http://stackoverflow.com/questions/39151509/need-apache-phoenix-udfs-guide#>

I am new to apache phoenix.we need to write phoenix udfs. But I have found
very limited documentation on it: on the blog :
http://phoenix-hbase.blogspot.in/2013/04/how-to-add-your-own-built-in-function.html
Above
link just gives very simple function which has only single i/p and o/p
type. I am searching since a week but could not find any document
explaining how to write evaluate function which takes multiple parameters
and can return different datatypes based on inputs. All I have currently is
understanding phoenix source code of built in functions.which is
cumbersome.Is there any comprehensive documentation of Phoenix UDFs.


In addition please suggest how can I register overloaded udf from .sqlline
command prompt



please suggest how can I register overloaded udf from .sqlline command
prompt . If we don't want to change ExpressionType enum, Is there any way I
can register an overloaded/generic udf which can take any type of parameter
and return type depends on inputs