You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/12/08 13:36:35 UTC

[jira] [Resolved] (TAJO-397) Implement sign function

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

Hyunsik Choi resolved TAJO-397.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8-incubating

committed it to master. thanks!

> Implement sign function
> -----------------------
>
>                 Key: TAJO-397
>                 URL: https://issues.apache.org/jira/browse/TAJO-397
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>            Priority: Minor
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-397.patch
>
>
> float8 sign(float8)
> if value is greater than 0 return 1.0
> if value is equals to 0 return 0.0
> if value is less than 0 return -1.0



--
This message was sent by Atlassian JIRA
(v6.1#6144)