You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2019/03/01 18:17:00 UTC

[jira] [Assigned] (IMPALA-7897) LiteralExpr incorrectly "handles" DATE, DATETIME, and TIMESTAMP

     [ 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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org