Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23129

Cast invalid string to date returns incorrect result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.1.2
    • None
    • None
    • None

    Description

      hive> select cast('2020-20-20' as date);
      OK
      2021-08-20
      Time taken: 4.436 seconds, Fetched: 1 row(s)
      

      Attachments

        Issue Links

          Activity

            People

              wenjunma003 wenjun ma
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: