tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-409) Add explored and explained annotations to Tajo function system
Date Mon, 20 Jan 2014 04:37:19 GMT

    [ https://issues.apache.org/jira/browse/TAJO-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876128#comment-13876128
] 

Hudson commented on TAJO-409:
-----------------------------

SUCCESS: Integrated in Tajo-master-build #19 (See [https://builds.apache.org/job/Tajo-master-build/19/])
TAJO-409: Add explored and explained annotations to Tajo function system. (SeongHwa Ahn via
hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=d04f9a567f3eac01fb796487e6dcb0af68f1d34b)
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToCharTimestamp.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Degrees.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/Date.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/BitLength.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Lower.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Mod.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/FindInSet.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/AvgFloat.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Atan2.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MinString.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Asin.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Sign.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/GeneralFunction.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/annotation/ParamOptionTypes.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/datetime/ToTimestamp.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/ToBin.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/SplitPart.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/InCountry.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/AbsLong.java
* tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
* tajo-core/tajo-core-backend/src/main/resources/webapps/admin/functions.jsp
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/BTrim.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Tan.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Atan.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/CountValueDistinct.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Chr.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/AbsInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Cos.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Substr.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/ToHex.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MinDouble.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Rpad.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Locate.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MaxDouble.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MaxFloat.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/StrPosb.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/AvgInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Exp.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/CharLength.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Reverse.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/SumLong.java
* tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/FunctionDesc.java
* tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/AbsDouble.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MinFloat.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Div.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/SumFloat.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Ceil.java
* tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/function/Function.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/LTrim.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/AvgLong.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Length.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Decode.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/CountValue.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Cbrt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/CountRows.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/AggFunction.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Sqrt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMaster.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MaxInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/RTrim.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/RandomInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Right.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Lpad.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MinInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/RegexpReplace.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Md5.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/StrPos.java
* tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MaxLong.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Encode.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Radians.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/AbsFloat.java
* tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/annotation/Description.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Acos.java
* tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestFunctionDesc.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Ascii.java
* CHANGES.txt
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/SumInt.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/util/JSPUtil.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/Today.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/OctetLength.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/util/ClassUtil.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Repeat.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Floor.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Sin.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/InitCap.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Left.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Round.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Pi.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/QuoteIdent.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/ExprAnnotator.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/Country.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/math/Pow.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Upper.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/AvgDouble.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/SumDouble.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/builtin/MinLong.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/annotation/ParamTypes.java


> 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
>            Assignee: SeongHwa Ahn
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-409.patch, TAJO-409_20140119_22:11:45.patch
>
>
> 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.5#6160)

Mime
View raw message