You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ji...@apache.org on 2019/04/02 21:06:16 UTC

[incubator-pinot] branch master updated: [TE] disable anomalies endpoint padding for minute level alerts (#4058)

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 7b61bfc  [TE] disable anomalies endpoint padding for minute level alerts (#4058)
7b61bfc is described below

commit 7b61bfcdeae594915f1f931f0d8585b0c104a508
Author: Jihao Zhang <ji...@linkedin.com>
AuthorDate: Tue Apr 2 14:06:06 2019 -0700

    [TE] disable anomalies endpoint padding for minute level alerts (#4058)
---
 .../apache/pinot/thirdeye/detector/function/BaseAnomalyFunction.java  | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detector/function/BaseAnomalyFunction.java b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detector/function/BaseAnomalyFunction.java
index e64f397..40f5160 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detector/function/BaseAnomalyFunction.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detector/function/BaseAnomalyFunction.java
@@ -171,10 +171,6 @@ public abstract class BaseAnomalyFunction implements AnomalyFunction {
         preOffsetPeriod = DEFAULT_VIEW_OFFSET_FOR_HOURLY.toPeriod();
         postOffsetPeriod = DEFAULT_VIEW_OFFSET_FOR_HOURLY.toPeriod();
         break;
-      case MINUTES:
-        preOffsetPeriod = DEFAULT_VIEW_OFFSET_FOR_MINUTE.toPeriod();
-        postOffsetPeriod = DEFAULT_VIEW_OFFSET_FOR_MINUTE.toPeriod();
-        break;
       default:
         preOffsetPeriod = new Period();
         postOffsetPeriod = new Period();


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