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

Create Factorial 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

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

    Description

      Function signature: factorial(int a): bigint

      For example 5!= 5*4*3*2*1=120

      select factorial(5);
      OK
      120
      

      Attachments

        1. HIVE-9857.3.patch
          11 kB
          Alexander Pivovarov
        2. HIVE-9857.2.patch
          11 kB
          Alexander Pivovarov
        3. HIVE-9857.1.patch
          11 kB
          Alexander Pivovarov

        Issue Links

        Activity

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

          People

            apivovarov Alexander Pivovarov Assign to me
            apivovarov Alexander Pivovarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment