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 3a3f536  [TE] Handle sql time format yyyy-MM-dd-HH (#4898)
3a3f536 is described below

commit 3a3f536c3f276e55660f47e6a58096a288eb870d
Author: Akshay Rai <[email protected]>
AuthorDate: Fri Dec 6 21:07:58 2019 -0800

    [TE] Handle sql time format yyyy-MM-dd-HH (#4898)
---
 .../main/java/org/apache/pinot/thirdeye/datasource/sql/SqlUtils.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/sql/SqlUtils.java
 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/sql/SqlUtils.java
index bd55ffe..28f6272 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/sql/SqlUtils.java
+++ 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/datasource/sql/SqlUtils.java
@@ -564,6 +564,8 @@ public class SqlUtils {
         return "%y%m%d";
       case "yyyy-MM-dd hh:mm:ss":
         return "%Y-%m-%d %H:%i:%s";
+      case "yyyy-MM-dd-HH":
+        return "%Y-%m-%d-%H";
       default:
           return "%Y-%m-%d %H:%i:%s";
     }


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

Reply via email to