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

Michael Smith updated IMPALA-12941:
-----------------------------------
    Component/s: Backend
                     (was: be)

> Implement the prettyprint_duration Built-in Function
> ----------------------------------------------------
>
>                 Key: IMPALA-12941
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12941
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Jason Fehr
>            Assignee: Jason Fehr
>            Priority: Minor
>              Labels: workload-management
>
> Implement a new Impala built-in function named prettyprint_duration.  This 
> function will take in two inputs -- a duration (all integer/floating 
> point/decimal types) and a unit (nanoseconds, microseconds, milliseconds, and 
> seconds) and output a prettyprinted, human readable string.
> For example:
> {noformat}
> select prettyprint_duration(2147483647, 'nanoseconds,);
> output: 2s147ms
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to