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 7bd25cc  [TE] detection - minor fixes for integration test (#3774)
7bd25cc is described below

commit 7bd25cc584a8d291a9ef098a04195cc68991a238
Author: Xiaohui Sun <[email protected]>
AuthorDate: Thu Jan 31 13:52:54 2019 -0800

    [TE] detection - minor fixes for integration test (#3774)
---
 .../org/apache/pinot/thirdeye/datasource/csv/CSVThirdEyeDataSource.java | 2 ++
 .../pinot/thirdeye/detection/yaml/YamlDetectionConfigTranslator.java    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/csv/CSVThirdEyeDataSource.java
 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/csv/CSVThirdEyeDataSource.java
index 149975b..cacb628 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/csv/CSVThirdEyeDataSource.java
+++ 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/csv/CSVThirdEyeDataSource.java
@@ -62,6 +62,8 @@ public class CSVThirdEyeDataSource implements 
ThirdEyeDataSource {
    */
   public static final String COL_TIMESTAMP = "timestamp";
 
+  public static final String DATA_SOURCE_NAME = 
CSVThirdEyeDataSource.class.getSimpleName();
+
   /**
    * The Data sets.
    */
diff --git 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlDetectionConfigTranslator.java
 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlDetectionConfigTranslator.java
index 816aebd..fe2aee3 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlDetectionConfigTranslator.java
+++ 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlDetectionConfigTranslator.java
@@ -74,7 +74,7 @@ public abstract class YamlDetectionConfigTranslator {
   /**
    * Fill in common fields of detection config. Properties of the pipeline is 
filled by the subclass.
    */
-  DetectionConfigDTO generateDetectionConfig() {
+  public DetectionConfigDTO generateDetectionConfig() {
     validateYAML(yamlConfig);
 
     DetectionConfigDTO config = new DetectionConfigDTO();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to