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/19 23:25:49 UTC

[jira] Created: (HIVE-496) UDFDate fails on null

UDFDate fails on null
---------------------

                 Key: HIVE-496
                 URL: https://issues.apache.org/jira/browse/HIVE-496
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Zheng Shao
         Attachments: HIVE-496.1.patch

UDFDate will output null pointer exception if called with null.


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


[jira] Commented: (HIVE-496) UDFDate fails on null

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710975#action_12710975 ] 

Prasad Chakka commented on HIVE-496:
------------------------------------

UDFDateAdd and UDFDateDiff also can throw similar NullPointerExceptions if the arguments to evaluate() are NULL. Can you verify that all UDFs have a protection against invalid arguments?

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch, HIVE-496.2.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Resolved: (HIVE-496) UDFDate fails on null

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka resolved HIVE-496.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0
     Hadoop Flags: [Reviewed]

Thanks Zheng!

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.4.0
>
>         Attachments: HIVE-496.1.patch, HIVE-496.2.patch, HIVE-496.3.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Updated: (HIVE-496) UDFDate fails on null

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-496:
----------------------------

    Attachment: HIVE-496.2.patch

Fixing another null bug in UDFCaseWhen

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch, HIVE-496.2.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Updated: (HIVE-496) UDFDate fails on null

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-496:
----------------------------

    Attachment: HIVE-496.3.patch

Fixed similar problems in all UDFs.

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch, HIVE-496.2.patch, HIVE-496.3.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Commented: (HIVE-496) UDFDate fails on null

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710983#action_12710983 ] 

Prasad Chakka commented on HIVE-496:
------------------------------------

looks good. running tests.

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch, HIVE-496.2.patch, HIVE-496.3.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Updated: (HIVE-496) UDFDate fails on null

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-496:
----------------------------

    Attachment: HIVE-496.1.patch

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch
>
>
> UDFDate will output null pointer exception if called with null.

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


[jira] Assigned: (HIVE-496) UDFDate fails on null

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao reassigned HIVE-496:
-------------------------------

    Assignee: Zheng Shao

> UDFDate fails on null
> ---------------------
>
>                 Key: HIVE-496
>                 URL: https://issues.apache.org/jira/browse/HIVE-496
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-496.1.patch
>
>
> UDFDate will output null pointer exception if called with null.

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