You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/05/20 20:24:45 UTC
[jira] Created: (HIVE-498) UDFRegExp NullPointerException on empty
replacement string
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
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.
[jira] Updated: (HIVE-498) UDFRegExp NullPointerException on empty
replacement string
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-498:
----------------------------
Attachment: HIVE-498.1.patch
This patch fixes the problem.
> 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.
[jira] Updated: (HIVE-498) UDFRegExp NullPointerException on empty
replacement string
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-498:
----------------------------
Status: Patch Available (was: Open)
> 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.
[jira] Commented: (HIVE-498) UDFRegExp NullPointerException on
empty replacement string
Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711317#action_12711317 ]
Ashish Thusoo commented on HIVE-498:
------------------------------------
+1
Running tests now. Will checkin when they are done.
> 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.
[jira] Updated: (HIVE-498) UDFRegExp NullPointerException on empty
replacement string
Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasad Chakka updated HIVE-498:
-------------------------------
Comment: was deleted
(was: 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.
[jira] Updated: (HIVE-498) UDFRegExp NullPointerException on empty
replacement string
Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Thusoo updated HIVE-498:
-------------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
committed. Thanks Zheng!!
> 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
> Fix For: 0.4.0
>
> 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.
[jira] Commented: (HIVE-498) UDFRegExp NullPointerException on
empty replacement string
Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
[ 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.