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

Hudson commented on TAJO-551:
-----------------------------

SUCCESS: Integrated in Tajo-master-build #30 (See 
[https://builds.apache.org/job/Tajo-master-build/30/])
TAJO-551: Fix bug getFunction can get wrong function that have invalid 
parameters. (DaeMyung Kang via jihoon) (jihoonson: 
https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=9d5be90a74b04a5fa68a7924c98abcce56dec729)
* 
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Rpad.java
* 
tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
* 
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
* CHANGES.txt
* 
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/string/Substr.java
* 
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Lpad.java


> Fix bug getFunction can get wrong function that have invalid parameters
> -----------------------------------------------------------------------
>
>                 Key: TAJO-551
>                 URL: https://issues.apache.org/jira/browse/TAJO-551
>             Project: Tajo
>          Issue Type: Bug
>          Components: function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>         Attachments: TAJO-551.patch
>
>
> currently, containFunction and getFunction can get a function that has 
> invalid parameter
> {noformat}
>            FunctionDesc meta = new FunctionDesc("test10", TestFunc2.class, 
> FunctionType.GENERAL,
>              CatalogUtil.newSimpleDataType(Type.INT4),
>              CatalogUtil.newSimpleDataTypeArray(Type.INT4, Type.BLOB));
>           catalog.createFunction(meta);             
> assertTrue(catalog.containFunction("test10", 
> CatalogUtil.newSimpleDataTypeArray(Type.INT4, Type.BLOB)));
> assertTrue(catalog.containFunction("test10", 
> CatalogUtil.newSimpleDataTypeArray(Type.BLOB, Type.INT4)));
> {noformat}
> when containFunction is called with same parameter types but not order is 
> same. it just returns true or function.



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

Reply via email to