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/04/19 22:57:56 UTC

[incubator-pinot] branch master updated: [TE] Fix for TimeSeries constructor (#4150)

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 955748b  [TE] Fix for TimeSeries constructor (#4150)
955748b is described below

commit 955748bbd2b447b97eda5389e2dd3a5b5b898479
Author: Xiaohui Sun <xh...@linkedin.com>
AuthorDate: Fri Apr 19 15:57:50 2019 -0700

    [TE] Fix for TimeSeries constructor (#4150)
---
 .../java/org/apache/pinot/thirdeye/detection/spi/model/TimeSeries.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/spi/model/TimeSeries.java b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/spi/model/TimeSeries.java
index 755b880..8758c19 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/spi/model/TimeSeries.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/spi/model/TimeSeries.java
@@ -38,6 +38,7 @@ public class TimeSeries {
   }
 
   public TimeSeries(LongSeries timestamps, DoubleSeries baselineValues) {
+    this.df = new DataFrame();
     this.df.addSeries(COL_TIME, timestamps).setIndex(COL_TIME);
     this.df.addSeries(DataFrameUtils.COL_VALUE, baselineValues);
   }


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