tdigest_merge()tdigest_merge()

Unisce tdigest i risultati (versione scalare della versione aggregata tdigest_merge() ).Merges tdigest results (scalar version of the aggregate version tdigest_merge()).

Per altre informazioni sull'algoritmo sottostante (T-digest) e sull'errore stimato, vedere qui.Read more about the underlying algorithm (T-Digest) and the estimated error here.

SintassiSyntax

merge_tdigests(Expr1 , Expr2, ...)merge_tdigests( Expr1, Expr2, ...)

tdigest_merge(Expr1 , Expr2 , ...) -Un alias.tdigest_merge( Expr1, Expr2, ...) - An alias.

ArgomentiArguments

  • Colonne tdigest con i valori da unire.Columns that have the tdigest values to be merged.

RestituisceReturns

Risultato per unire le colonne,,... *Expr1* *Expr2* *ExprN* a uno tdigest .The result for merging the columns *Expr1*, *Expr2*, ... *ExprN* to one tdigest.

EsempioExamples

range x from 1 to 10 step 1 
| extend y = x + 10
| summarize tdigestX = tdigest(x), tdigestY = tdigest(y)
| project merged = tdigest_merge(tdigestX, tdigestY)
| project percentile_tdigest(merged, 100, typeof(long))
percentile_tdigest_mergedpercentile_tdigest_merged
2020