This is an automated email from the ASF dual-hosted git repository.

xiangfu 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 e517dda  Fixing schema and table config for githubEvents demo (#6585)
e517dda is described below

commit e517dda847e78b8bc7966a37e7d526f4fecd79c8
Author: icefury71 <[email protected]>
AuthorDate: Wed Feb 17 12:06:15 2021 -0800

    Fixing schema and table config for githubEvents demo (#6585)
---
 .../pullRequestMergedEvents_realtime_table_config.json       |  1 -
 .../stream/githubEvents/pullRequestMergedEvents_schema.json  | 12 ++++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git 
a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
 
b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
index 428556b..f1cd506 100644
--- 
a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
+++ 
b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
@@ -3,7 +3,6 @@
   "tableType": "REALTIME",
   "segmentsConfig": {
     "timeColumnName": "mergedTimeMillis",
-    "timeType": "MILLISECONDS",
     "retentionTimeUnit": "DAYS",
     "retentionTimeValue": "60",
     "schemaName": "pullRequestMergedEvents",
diff --git 
a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
 
b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
index bc60843..f620edc 100644
--- 
a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
+++ 
b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
@@ -140,12 +140,12 @@
       "dataType": "LONG"
     }
   ],
-  "timeFieldSpec": {
-    "incomingGranularitySpec": {
-      "timeType": "MILLISECONDS",
-      "timeFormat": "EPOCH",
+  "dateTimeFieldSpecs": [
+    {
+      "name": "mergedTimeMillis",
       "dataType": "LONG",
-      "name": "mergedTimeMillis"
+      "format": "1:MILLISECONDS:EPOCH",
+      "granularity": "1:MILLISECONDS"
     }
-  }
+  ]
 }


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

Reply via email to