You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nikita Pande (Jira)" <ji...@apache.org> on 2024/02/08 07:44:00 UTC

[jira] [Created] (PHOENIX-7203) Support DIGITS operator as built in functions

Nikita Pande created PHOENIX-7203:
-------------------------------------

             Summary: Support DIGITS operator as built in functions
                 Key: PHOENIX-7203
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7203
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Nikita Pande


DIGITS: [[https://www.ibm.com/docs/en/db2-for-zos/12?topic=functions-digits]|https://www.ibm.com/docs/en/db2-for-zos/12?topic=functions-digits]
{*}Description{*}: The DIGITS function returns a character string representation of the
absolute value of a number.
Example: Assume that COLUMNX has the data type DECIMAL(6,2), and that one of its
values is {*}-6.28{*}. For this value, the following statement returns the value *'000628'.*
{code:java}
     DIGITS(COLUMNX)
     {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)