You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Jason Fehr (Jira)" <ji...@apache.org> on 2024/03/26 20:41:00 UTC

[jira] [Assigned] (IMPALA-12941) Implement the prettyprint_duration Built-in Function

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

Jason Fehr reassigned IMPALA-12941:
-----------------------------------

    Assignee: Jason Fehr

> 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: be
>            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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org