Jason Fehr created IMPALA-12941:
-----------------------------------
Summary: 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
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)