Hive
  1. Hive
  2. HIVE-6046

add UDF for converting date time from one presentation to another

    Details

    • Type: New Feature New Feature
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.13.0
    • Fix Version/s: None
    • Component/s: UDF
    • Labels:
      None

      Description

      it'd be nice to have function for converting datetime to different formats, for example:
      format_date('2013-12-12 00:00:00.0', 'yyyy-MM-dd HH:mm:ss.S', 'yyyy/MM/dd')
      There are two signatures to facilitate further using:
      format_date(datetime, fromFormat, toFormat)
      format_date(timestamp, toFormat)

      1. Hive-6046-Feb15.patch
        18 kB
        Kostiantyn Kudriavtsev
      2. HIVE-6046.patch
        11 kB
        Xuefu Zhang
      3. Hive-6046.patch
        11 kB
        Kostiantyn Kudriavtsev

        Issue Links

          Activity

          Kostiantyn Kudriavtsev created issue -
          Kostiantyn Kudriavtsev made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment hive-6046.patch [ 12620249 ]
          Kostiantyn Kudriavtsev made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          Navis made changes -
          Assignee Kostiantyn Kudriavtsev [ kostiantyn ]
          Xuefu Zhang made changes -
          Link This issue is duplicated by HIVE-6214 [ HIVE-6214 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment hive-6046.patch [ 12620249 ]
          Kostiantyn Kudriavtsev made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046.patch [ 12628857 ]
          Kostiantyn Kudriavtsev made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Xuefu Zhang made changes -
          Attachment HIVE-6046.patch [ 12629107 ]
          Xuefu Zhang made changes -
          Remote Link This issue links to "https://reviews.apache.org/r/18143/ (Web Link)" [ 14165 ]
          Xuefu Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046.patch [ 12629230 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046.patch [ 12629230 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046-Feb15.patch [ 12629231 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046-Feb15.patch [ 12629231 ]
          Kostiantyn Kudriavtsev made changes -
          Attachment Hive-6046-Feb15.patch [ 12629232 ]
          Kostiantyn Kudriavtsev made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Alexander Pivovarov made changes -
          Link This issue relates to HIVE-10276 [ HIVE-10276 ]

            People

            • Assignee:
              Kostiantyn Kudriavtsev
              Reporter:
              Kostiantyn Kudriavtsev
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development