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

apucher 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 ee72faa  update data generator schema json with dataTimeSpec (#5739)
ee72faa is described below

commit ee72faa9457f06a167cd3d5503923cb282b55992
Author: Alexander Pucher <apuc...@apache.org>
AuthorDate: Thu Jul 23 14:19:11 2020 -0700

    update data generator schema json with dataTimeSpec (#5739)
---
 .../src/main/resources/generator/complexWebsite_schema.json   | 11 ++++++-----
 .../src/main/resources/generator/simpleWebsite_schema.json    | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git 
a/pinot-tools/src/main/resources/generator/complexWebsite_schema.json 
b/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
index 99a349b..d4ab75c 100644
--- a/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
+++ b/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
@@ -27,12 +27,13 @@
       "name": "platform"
     }
   ],
-  "timeFieldSpec": {
-    "incomingGranularitySpec": {
-      "timeType": "HOURS",
+  "dateTimeFieldSpecs": [
+    {
+      "name": "hoursSinceEpoch",
       "dataType": "LONG",
-      "name": "hoursSinceEpoch"
+      "format": "1:HOURS:EPOCH",
+      "granularity": "1:HOURS"
     }
-  },
+  ],
   "schemaName": "complexWebsite"
 }
diff --git a/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json 
b/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
index c7c015e..63cc46a 100644
--- a/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
+++ b/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
@@ -15,12 +15,13 @@
   ],
   "dimensionFieldSpecs": [
   ],
-  "timeFieldSpec": {
-    "incomingGranularitySpec": {
-      "timeType": "HOURS",
+  "dateTimeFieldSpecs": [
+    {
+      "name": "hoursSinceEpoch",
       "dataType": "LONG",
-      "name": "hoursSinceEpoch"
+      "format": "1:HOURS:EPOCH",
+      "granularity": "1:HOURS"
     }
-  },
+  ],
   "schemaName": "simpleWebsite"
 }


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

Reply via email to