[ 
https://issues.apache.org/jira/browse/HIVE-24110?focusedWorklogId=510533&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-510533
 ]

ASF GitHub Bot logged work on HIVE-24110:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Nov/20 00:37
            Start Date: 12/Nov/20 00:37
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #1468:
URL: https://github.com/apache/hive/pull/1468


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 510533)
    Time Spent: 40m  (was: 0.5h)

> NullPointerException occurs in some UDFs
> ----------------------------------------
>
>                 Key: HIVE-24110
>                 URL: https://issues.apache.org/jira/browse/HIVE-24110
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Ryu Kobayashi
>            Assignee: Ryu Kobayashi
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Since it refers to a variable that has not been initialized, 
> NullPointerException occurs and the correct error message is not displayed.
>  
> {code:java}
> if (arguments[0].getCategory() != ObjectInspector.Category.PRIMITIVE) {
>   throw new UDFArgumentException(
>                   "OCTET_LENGTH only takes primitive types, got " + 
> argumentOI.getTypeName());
> }
> argumentOI = (PrimitiveObjectInspector) arguments[0];
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to