You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/05/20 21:08:45 UTC

[jira] Commented: (HIVE-498) UDFRegExp NullPointerException on empty replacement string

    [ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711298#action_12711298 ] 

Prasad Chakka commented on HIVE-498:
------------------------------------

isn't the check 'p == null' redundant since p is set to null and not modified before this check?

> UDFRegExp NullPointerException on empty replacement string
> ----------------------------------------------------------
>
>                 Key: HIVE-498
>                 URL: https://issues.apache.org/jira/browse/HIVE-498
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-498.1.patch
>
>
> UDFRegExp, UDFRegExpReplace, UDFRegExpExtract will throw out NullPointerException if the replacement String is empty or pattern is empty

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.