[jira] [Updated] (PHOENIX-4639) Udf's don't run execute method when using null as a parameter.

2018-03-07 Thread Clive Stellings (JIRA)

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

Clive Stellings updated PHOENIX-4639:
-
Description: When attempting to use a UDF the code for evaluate never runs 
if the parameter for the UDF is null.  I wrote a function called isnull that is 
attempting to emulate the same function as in Mysql but when I enter null e.g. 
isnull(null) it returns with an empty value and when I check if the evaluate 
method actually runs, it never enters the method.  (was: When attempting to use 
a UDF the code for evaluate never runs if the parameter for the UDF is null.  I 
wrote a function called isnull that and am attempting to emulate the same 
function as in Mysql but when I enter null e.g. isnull(null) it returns with an 
empty value and when I check if the eva;iate method actually runs, it never 
enters the method.)

> Udf's don't run execute method when using null as a parameter.
> --
>
> Key: PHOENIX-4639
> URL: https://issues.apache.org/jira/browse/PHOENIX-4639
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.13.2-cdh5.11.2
> Environment: Centos 7  using Cloudera
>Reporter: Clive Stellings
>Priority: Major
> Attachments: IsNull.java
>
>
> When attempting to use a UDF the code for evaluate never runs if the 
> parameter for the UDF is null.  I wrote a function called isnull that is 
> attempting to emulate the same function as in Mysql but when I enter null 
> e.g. isnull(null) it returns with an empty value and when I check if the 
> evaluate method actually runs, it never enters the method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PHOENIX-4639) Udf's don't run execute method when using null as a parameter.

2018-03-07 Thread Clive Stellings (JIRA)

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

Clive Stellings updated PHOENIX-4639:
-
Description: When attempting to use a UDF the code for evaluate never runs 
if the parameter for the UDF is null.  I wrote a function called isnull that 
and am attempting to emulate the same function as in Mysql but when I enter 
null e.g. isnull(null) it returns with an empty value and when I check if the 
eva;iate method actually runs, it never enters the method.  (was: When 
attempting to use a UDF the code for execute never runs if the parameter for 
the UDF is null.  I wrote a function called isnull that and am attempting to 
emulate the same function as in Mysql but when I enter null e.g. isnull(null) 
it returns with an empty value and when I check if the execute method actually 
runs, it never enters the method.)

> Udf's don't run execute method when using null as a parameter.
> --
>
> Key: PHOENIX-4639
> URL: https://issues.apache.org/jira/browse/PHOENIX-4639
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.13.2-cdh5.11.2
> Environment: Centos 7  using Cloudera
>Reporter: Clive Stellings
>Priority: Major
> Attachments: IsNull.java
>
>
> When attempting to use a UDF the code for evaluate never runs if the 
> parameter for the UDF is null.  I wrote a function called isnull that and am 
> attempting to emulate the same function as in Mysql but when I enter null 
> e.g. isnull(null) it returns with an empty value and when I check if the 
> eva;iate method actually runs, it never enters the method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)