[
https://issues.apache.org/jira/browse/DRILL-8536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikael Brännström updated DRILL-8536:
-------------------------------------
Description:
There are two t-digest (histogram) related SQL functions, to construct and
merge t-digest data.
However, there is no way to read any useful information from the t-digest,
which makes the current two functions "tdigest" and "tdigest_merge" quite
pointless.
It is suggested that 3 new SQL functions are added to
org.apache.drill.exec.expr.fn.impl.TDigestFunctions:
* tdigest_quantile(tdigest, quantile) -> wrapped call to
TDigest.quantile(quantile)
* tdigest_min(tdigest) -> wrapped call to TDigest.min()
* tdigest_max(tdigest) -> wrapped call to TDigest.max()
was:
There are two t-digest (histogram) related SQL functions, to construct and
merge t-digest data.
However, there is no way to read any useful information from the t-digest,
which makes the current two functions "tdigest" and "tdigest_merge" quite
pointless.
It is suggested that 3 new SQL functions are added to
org.apache.drill.exec.expr.fn.impl.TDigestFunctions: *
tdigest_quantile(tdigest, quantile) -> wrapped call to
TDigest.quantile(quantile)
* tdigest_min(tdigest) -> wrapped call to TDigest.min()
* tdigest_max(tdigest) -> wrapped call to TDigest.max()
> Add SQL functions tdigest_quantile, tdigest_min, and tdigest_max
> ----------------------------------------------------------------
>
> Key: DRILL-8536
> URL: https://issues.apache.org/jira/browse/DRILL-8536
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Mikael Brännström
> Priority: Major
>
> There are two t-digest (histogram) related SQL functions, to construct and
> merge t-digest data.
> However, there is no way to read any useful information from the t-digest,
> which makes the current two functions "tdigest" and "tdigest_merge" quite
> pointless.
> It is suggested that 3 new SQL functions are added to
> org.apache.drill.exec.expr.fn.impl.TDigestFunctions:
>
> * tdigest_quantile(tdigest, quantile) -> wrapped call to
> TDigest.quantile(quantile)
> * tdigest_min(tdigest) -> wrapped call to TDigest.min()
> * tdigest_max(tdigest) -> wrapped call to TDigest.max()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)