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 88ba23a  [TE] rootcause - change frontend hack for baseline for new 
pipeline (#3571)
88ba23a is described below

commit 88ba23a7fe00689d79d5c3a7bcbf963f8191336a
Author: Alexander Pucher <apuc...@linkedin.com>
AuthorDate: Fri Nov 30 14:40:42 2018 -0800

    [TE] rootcause - change frontend hack for baseline for new pipeline (#3571)
---
 .../dashboard/resources/v2/rootcause/AnomalyEventFormatter.java       | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/dashboard/resources/v2/rootcause/AnomalyEventFormatter.java
 
b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/dashboard/resources/v2/rootcause/AnomalyEventFormatter.java
index 2dd3d29..36b6e64 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/dashboard/resources/v2/rootcause/AnomalyEventFormatter.java
+++ 
b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/dashboard/resources/v2/rootcause/AnomalyEventFormatter.java
@@ -112,10 +112,6 @@ public class AnomalyEventFormatter extends 
RootCauseEventEntityFormatter {
       AnomalyFunctionDTO function = anomaly.getFunction();
       functionName = function.getFunctionName();
       attributes.put(ATTR_FUNCTION_ID, String.valueOf(function.getId()));
-    }
-
-    if (anomaly.getAvgBaselineVal() != 0.0d) {
-      // NOTE: hack for legacy anomaly function results
       attributes.put(ATTR_AGGREGATE_MULTIPLIER, 
String.valueOf(getAggregateMultiplier(anomaly, dataset, metric)));
     }
 


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

Reply via email to