You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/09 16:45:01 UTC

[jira] [Work logged] (HIVE-21721) nvl function fail with NullPointerException if the two paramtype are different

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

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

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 16:44
            Start Date: 09/Jun/20 16:44
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #623:
URL: https://github.com/apache/hive/pull/623#issuecomment-641143476


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 443229)
    Time Spent: 0.5h  (was: 20m)

> nvl function fail with NullPointerException if the two paramtype are different
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-21721
>                 URL: https://issues.apache.org/jira/browse/HIVE-21721
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.1.0
>            Reporter: philipse
>            Assignee: philipse
>            Priority: Blocker
>              Labels: pull-request-available
>         Attachments: image-2019-05-11-10-41-05-168.png, image-2019-05-12-23-47-49-401.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Hi all
> when i user nvl and case when fucntion, it behaviors like the following.which is weird to me, and makes me headache everytime. i need to check where the nullpointexception throws out when it hadppens,So can the reasons more friendly to users,
> !image-2019-05-11-10-41-05-168.png!
> {code:java}
> select nvl(cast('2019-05-10 11:11:11,111' as timestamp),'2019-05-10 11:11:11,111');
> Error: Error while compiling statement: FAILED: NullPointerException null (state=42000,code=40000)
> {code}



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