Luis Fernandez
09/10/2021, 7:26 PM{
"schemaName": "etsyads_metrics",
"dimensionFieldSpecs": [
{
"name": "shop_id",
"dataType": "LONG"
},
{
"name": "listing_id",
"dataType": "LONG"
}
],
"metricFieldSpecs": [
{
"name": "cost",
"dataType": "INT",
"defaultNullValue": 0
},
{
"name": "impression_count",
"dataType": "INT",
"defaultNullValue": 0
},
{
"name": "click_count",
"dataType": "INT",
"defaultNullValue": 0
},
{
"name": "order_count",
"dataType": "INT",
"defaultNullValue": 0
},
{
"name": "revenue",
"dataType": "INT",
"defaultNullValue": 0
}
],
"dateTimeFieldSpecs": [
{
"name": "serve_time",
"dataType": "LONG",
"format": "1:SECONDS:EPOCH",
"granularity": "1:HOURS"
}
]
}
we were reading this https://docs.pinot.apache.org/basics/components/table#pre-aggregation and we set this as our noDictionaryMetrics
"noDictionaryColumns": [
"click_count",
"order_count",
"impression_count",
"cost",
"revenue"
],
"aggregateMetrics" : true
but we still see multiple rows for the same dimension values in the same hour, does anyone have some guidance as to why this may be happening?Jackie
09/10/2021, 8:04 PMLuis Fernandez
09/10/2021, 8:04 PMJackie
09/10/2021, 8:04 PMJackie
09/10/2021, 8:04 PMJackie
09/10/2021, 8:05 PMEric Buth
09/10/2021, 8:22 PMEric Buth
09/10/2021, 8:22 PMJackie
09/10/2021, 8:29 PMgranularity field within the dateTimeFieldSpecs is just for description purpose as of now, and pinot won't automatically truncate the time valueJackie
09/10/2021, 8:29 PM