[ 
https://issues.apache.org/jira/browse/HIVE-9857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Pivovarov updated HIVE-9857:
--------------------------------------
    Description: 
Function signature: factorial(int a): bigint

For example 5!= 5*4*3*2*1=120
{code}
select factorial(5);
OK
120
{code}

  was:
Function signature: factorial(int a): long

For example 5!= 5*4*3*2*1=120
{code}
select factorial(5);
OK
120
{code}


> Create Factorial UDF
> --------------------
>
>                 Key: HIVE-9857
>                 URL: https://issues.apache.org/jira/browse/HIVE-9857
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>
> Function signature: factorial(int a): bigint
> For example 5!= 5*4*3*2*1=120
> {code}
> select factorial(5);
> OK
> 120
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to