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

Timestamp casting is inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.6.0
    • None
    • Backend
    • None

    Description

      The following two queries result in different timestamp casting behavior.

      select cast(253430000000 as timestamp);
      

      Result:

      10000-11-16 14:13:20
      

      The following query returns NULL.

      select cast("10000-11-16 14:13:20" as timestamp);
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarasbob Taras Bobrovytsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: