[
https://issues.apache.org/jira/browse/PHOENIX-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566318#comment-14566318
]
Hudson commented on PHOENIX-2010:
---------------------------------
SUCCESS: Integrated in Phoenix-master #772 (See
[https://builds.apache.org/job/Phoenix-master/772/])
PHOENIX-2010 Properly validate number of arguments passed to the functions in
FunctionParseNode#validate(Rajeshbabu) (rajeshbabu: rev
b7f138246328ea80ce53fb73539a1e48413a32d2)
*
phoenix-core/src/it/java/org/apache/phoenix/end2end/UserDefinedFunctionsIT.java
* phoenix-core/src/main/java/org/apache/phoenix/parse/PFunction.java
* phoenix-core/src/main/java/org/apache/phoenix/parse/FunctionParseNode.java
> Properly validate number of arguments passed to the functions in
> FunctionParseNode#validate
> -------------------------------------------------------------------------------------------
>
> Key: PHOENIX-2010
> URL: https://issues.apache.org/jira/browse/PHOENIX-2010
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.4.0
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Fix For: 5.0.0, 4.5.0, 4.4.1
>
> Attachments: PHOENIX-2010.patch
>
>
> Getting ArrayIndexOutOfBoundsException if we pass more arguments than actual
> number arguments. And if we pass lesser number of arguments then getting null
> values. It's not problem for built-in functions because we are using function
> name and number arguments combination key for lookup built-in functions in
> the the map. It's problem for UDF functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)