You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Yash Sharma (JIRA)" <ji...@apache.org> on 2014/01/18 08:56:19 UTC

[jira] [Created] (DRILL-345) Addition of a genericUDF/reflectUDF

Yash Sharma created DRILL-345:
---------------------------------

             Summary: Addition of a genericUDF/reflectUDF
                 Key: DRILL-345
                 URL: https://issues.apache.org/jira/browse/DRILL-345
             Project: Apache Drill
          Issue Type: Improvement
    Affects Versions: 1.0.0-milestone-3
            Reporter: Yash Sharma


Add genericUDF/reflectUDF that will allow users to use methods from Java directly, instead having to write a UDF wrapper on top of existing Java method.
*Usage:*
{code:sql}
SELECT reflect("java.lang.String", "valueOf", 1),
               reflect("java.lang.String", "isEmpty"),
               reflect("java.lang.Math", "max", 2, 3)
FROM table;
{code}




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)