Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10556

Casting to a date without date portion should return error?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Frontend
    • None
    • ghx-label-2

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scarlin Steve Carlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: