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

Create quarter UDF

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.3.patch
          24 kB
          Alexander Pivovarov
        2. HIVE-3404.2.patch
          24 kB
          Alexander Pivovarov
        3. HIVE-3404.2.patch
          24 kB
          Alexander Pivovarov
        4. HIVE-3404.1.patch.txt
          9 kB
          Archana Nair

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment