This is an automated email from the ASF dual-hosted git repository. jihao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push: new 796c04a [TE] yaml - configure moving window detection in yaml (#3938) 796c04a is described below commit 796c04ab50bb8669be0590258579219cfe77df8c Author: Jihao Zhang <jihzh...@linkedin.com> AuthorDate: Fri Mar 8 11:28:32 2019 -0800 [TE] yaml - configure moving window detection in yaml (#3938) --- .../thirdeye/detection/yaml/CompositePipelineConfigTranslator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/CompositePipelineConfigTranslator.java b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/CompositePipelineConfigTranslator.java index 25518a5..b84b7f6 100644 --- a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/CompositePipelineConfigTranslator.java +++ b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/CompositePipelineConfigTranslator.java @@ -310,9 +310,11 @@ public class CompositePipelineConfigTranslator extends YamlDetectionConfigTransl } // override from yaml if (yamlConfig.containsKey(PROP_WINDOW_SIZE)) { + properties.put(PROP_MOVING_WINDOW_DETECTION, true); properties.put(PROP_WINDOW_SIZE, MapUtils.getString(yamlConfig, PROP_WINDOW_SIZE)); } if (yamlConfig.containsKey(PROP_WINDOW_UNIT)) { + properties.put(PROP_MOVING_WINDOW_DETECTION, true); properties.put(PROP_WINDOW_UNIT, MapUtils.getString(yamlConfig, PROP_WINDOW_UNIT)); } if (yamlConfig.containsKey(PROP_WINDOW_DELAY)) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org