[ 
https://issues.apache.org/jira/browse/PHOENIX-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajeshbabu Chintaguntla resolved PHOENIX-2010.
----------------------------------------------
    Resolution: Fixed

Pushed to master,4.x and 4.4 branches. Thanks for review [~giacomotaylor].

> 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)

Reply via email to