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

Fix Broken support for ISO Time with Zone in Hive UDFs

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The followings UDFs date_format and to_date used to support ISO dates with timezone and the support has been broken since Hive 3.x release.

      Example:

      date_format('2017-03-16T00:10:42Z', 'y')

      date_format('2017-03-16T00:10:42+01:00', 'y')

      date_format('2017-03-16T00:10:42-01:00', 'y')

      to_date('2015-04-11T01:30:45Z')

       

      Attachments

        1. HIVE-21643.1.patch
          4 kB
          RAJKAMAL
        2. Hive-21643.01.patch
          4 kB
          RAJKAMAL

        Issue Links

          Activity

            People

              NavyaS Navya Sruthi Sunkarapalli
              rajkamalmn RAJKAMAL
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h