[
https://issues.apache.org/jira/browse/HIVE-12954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235962#comment-15235962
]
Janick Bernet commented on HIVE-12954:
--
This also appears to be in Hive 1.0. The closely related 'split' function does
handle NULL transparently, without an NPE.
> NPE with str_to_map on null strings
> ---
>
> Key: HIVE-12954
> URL: https://issues.apache.org/jira/browse/HIVE-12954
> Project: Hive
> Issue Type: Bug
>Affects Versions: 0.14.0, 1.0.0
>Reporter: Charles Pritchard
>
> Running str_to_map on a null string will return a NullPointerException.
> Workaround is to use coalesce.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)