[
https://issues.apache.org/jira/browse/HIVE-14658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449191#comment-15449191
]
Ashutosh Chauhan commented on HIVE-14658:
-----------------------------------------
+1
> 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, 2.2.0
> Reporter: Niklaus Xiao
> Assignee: Niklaus Xiao
> Priority: Minor
> Fix For: 2.2.0
>
> Attachments: HIVE-14658.1.patch
>
>
> 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)