This is an automated email from the ASF dual-hosted git repository. apucher pushed a commit to branch update-datetimespec-for-data-generator in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 5fafc1913ddbf2d58ee5d040ab04e091d3c49485 Author: Alexander Pucher <[email protected]> AuthorDate: Wed Jul 22 20:39:20 2020 -0700 update data generator schema json with dataTimeSpec --- .../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: [email protected] For additional commands, e-mail: [email protected]
