phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clive Stellings (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-4639) Udf's don't run execute method when using null as a parameter.
Date Mon, 05 Mar 2018 13:03:00 GMT
Clive Stellings created PHOENIX-4639:
----------------------------------------

             Summary: 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
         Attachments: IsNull.java

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.



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

Mime
View raw message