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

Create quarter UDF

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • UDF
    • None

    Description

      The function QUARTER(date) would return the quarter from a string / date / timestamp. This will be useful for different domains like retail ,finance etc.

      MySQL has QUARTER function
      https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_quarter

      Attachments

        1. HIVE-3404.1.patch.txt
          9 kB
          Archana Nair
        2. HIVE-3404.2.patch
          24 kB
          Alexander Pivovarov
        3. HIVE-3404.2.patch
          24 kB
          Alexander Pivovarov
        4. HIVE-3404.3.patch
          24 kB
          Alexander Pivovarov

        Activity

          People

            apivovarov Alexander Pivovarov
            sanam Sanam Naz
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: