Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4639

Udf's don't run execute method when using null as a parameter.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.13.2-cdh
    • None
    • None
    • None
    • Centos 7  using Cloudera

    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.

      Attachments

        1. IsNull.java
          2 kB
          Clive Stellings

        Activity

          People

            Unassigned Unassigned
            cliveste Clive Stellings
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: