You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ma...@apache.org on 2022/04/13 20:27:12 UTC

[druid] branch master updated: Add docs to metric spec for auto compaction (#12415)

This is an automated email from the ASF dual-hosted git repository.

maytasm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d37d9f9d8 Add docs to metric spec for auto compaction (#12415)
5d37d9f9d8 is described below

commit 5d37d9f9d81cfc1d30c4f5f542fd264964cddd33
Author: Maytas Monsereenusorn <ma...@apache.org>
AuthorDate: Wed Apr 13 13:27:00 2022 -0700

    Add docs to metric spec for auto compaction (#12415)
    
    * add docs
    
    * Update docs/configuration/index.md
    
    Co-authored-by: Victoria Lim <vt...@users.noreply.github.com>
    
    * Update index.md
    
    * Update docs/configuration/index.md
    
    Co-authored-by: Victoria Lim <vt...@users.noreply.github.com>
    
    Co-authored-by: Victoria Lim <vt...@users.noreply.github.com>
---
 docs/configuration/index.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/configuration/index.md b/docs/configuration/index.md
index dfc7f17baf..f4c268ae9d 100644
--- a/docs/configuration/index.md
+++ b/docs/configuration/index.md
@@ -970,6 +970,7 @@ A description of the compaction config is:
 |`granularitySpec`|Custom `granularitySpec`. See [Automatic compaction granularitySpec](#automatic-compaction-granularityspec)|No|
 |`dimensionsSpec`|Custom `dimensionsSpec`. See [Automatic compaction dimensionsSpec](#automatic-compaction-dimensions-spec)|No|
 |`transformSpec`|Custom `transformSpec`. See [Automatic compaction transformSpec](#automatic-compaction-transform-spec)|No|
+|`metricsSpec`|Custom [`metricsSpec`](../ingestion/ingestion-spec.md#metricsspec). The compaction task preserves any existing metrics regardless of whether `metricsSpec` is specified. If `metricsSpec` is specified, Druid does not reapply any aggregators matching the metric names specified in `metricsSpec` to rows that already have the associated metrics. For rows that do not already have the metric specified in `metricsSpec`, Druid applies the metric aggregator on the source column, then [...]
 |`ioConfig`|IO config for compaction tasks. See below [Compaction Task IOConfig](#automatic-compaction-ioconfig).|no|
 
 An example of compaction config is:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org