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

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

DaeMyung Kang created TAJO-397:
----------------------------------

             Summary: 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
         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)