You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xh...@apache.org on 2019/05/28 22:10:21 UTC

[incubator-pinot] branch master updated: [TE] make holter winters rule to return the current timeseries (#4249)

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

xhsun 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 1ca1436  [TE] make holter winters rule to return the current timeseries (#4249)
1ca1436 is described below

commit 1ca1436628f0598da4e108cb7c4a5c74ea24cffd
Author: Jihao Zhang <ji...@linkedin.com>
AuthorDate: Tue May 28 15:10:17 2019 -0700

    [TE] make holter winters rule to return the current timeseries (#4249)
---
 .../apache/pinot/thirdeye/detection/components/HoltWintersDetector.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetector.java b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetector.java
index 8800f6d..945ec5c 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetector.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/components/HoltWintersDetector.java
@@ -204,7 +204,7 @@ public class HoltWintersDetector implements BaselineProvider<HoltWintersDetector
         window.getEndMillis(),
         DetectionUtils.getMonitoringGranularityPeriod(timeGranularity.toAggregationGranularityString(),
             datasetConfig), datasetConfig);
-
+    dfBase = dfBase.joinRight(df.retainSeries(COL_TIME, COL_CURR), COL_TIME);
     return DetectionResult.from(anomalyResults, TimeSeries.fromDataFrame(dfBase));
   }
 


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