[ 
https://issues.apache.org/jira/browse/IMPALA-7897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Rogers reassigned IMPALA-7897:
-----------------------------------

    Assignee:     (was: Paul Rogers)

> LiteralExpr incorrectly "handles" DATE, DATETIME, and TIMESTAMP
> ---------------------------------------------------------------
>
>                 Key: IMPALA-7897
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7897
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 3.0
>            Reporter: Paul Rogers
>            Priority: Minor
>
> The {{LiteralExpr.create()}} method “handles” the {{DATE}}, {{DATETIME}}, and 
> {{TIMESTAMP}} class by returning a null value, with no exception. Change this 
> to throw an exception so that calling code does not have to track down an NPE.
> That is, if literals of these types are not supported, then make this clear 
> by throwing an {{UnsupportedOperationException}} or the like.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to