You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/12/11 06:47:08 UTC

[jira] [Created] (TAJO-409) Add explored and explained annotations to Tajo function system

Hyunsik Choi created TAJO-409:
---------------------------------

             Summary: Add explored and explained annotations to Tajo function system
                 Key: TAJO-409
                 URL: https://issues.apache.org/jira/browse/TAJO-409
             Project: Tajo
          Issue Type: Sub-task
          Components: function/udf
            Reporter: Hyunsik Choi
             Fix For: 0.8-incubating


Currently, it is hard for developers to add explanations to functions and user-defined functions. Java has annotation feature. We can make function system more explored and explained with java annotations.

h3. Proposal

A function should have the following annotations
 * function name (string) - optional
   ** If a function is user-defined, this field is ignored.
   ** the function name of user-defined function is given when it is registered.
 * synonyms (string []) - optional
   ** If a function is user-defined, this field is ignored.
   ** One or more aliases can be described.
 * description (string)
   ** *one* line explanation for a function
 * detail (string) - optional
   ** more explanations which can be two or more lines
 * example
   ** what are parameters and what is a result.

Function signatures can be derived from function name, parameters, and return types.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)