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

Implement date_format(timestamp, fmt) UDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      date_format(date/timestamp/string, fmt) converts a date/timestamp/string to a value of String in the format specified by the java date format fmt.

      Supported formats listed here:
      https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

      Attachments

        1. HIVE-10276.01.patch
          25 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: