Niklaus Xiao created HIVE-14658:
-----------------------------------

             Summary: UDF abs throws NPE when input arg type is string
                 Key: HIVE-14658
                 URL: https://issues.apache.org/jira/browse/HIVE-14658
             Project: Hive
          Issue Type: Bug
          Components: UDF
    Affects Versions: 1.3.0
            Reporter: Niklaus Xiao
            Assignee: Niklaus Xiao
            Priority: Minor


I know this is not the right use case, but NPE is not exptected.

{code}
0: jdbc:hive2://10.64.35.144:21066/> select abs("foo");
Error: Error while compiling statement: FAILED: NullPointerException null 
(state=42000,code=40000)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to