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 "Steve Carlin (Jira)" <ji...@apache.org> on 2021/03/01 23:51:00 UTC

[jira] [Created] (IMPALA-10556) Casting to a date without date portion should return error?

Steve Carlin created IMPALA-10556:
-------------------------------------

             Summary: Casting to a date without date portion should return error?
                 Key: IMPALA-10556
                 URL: https://issues.apache.org/jira/browse/IMPALA-10556
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Steve Carlin


The query select cast(cast('23:59:59' as timestamp) as date) returns NULL.

Is this the desired behavior or should we return an error?  Postgres returns an error in this case.



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

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