Harish Bohara
07/13/2022, 8:18 PMMayank
Johan Adami
07/13/2022, 8:43 PMHarish Bohara
07/14/2022, 9:24 AMHarish Bohara
07/14/2022, 9:26 AMHarish Bohara
07/14/2022, 9:31 AM{
"schemaName": "temp",
"dimensionFieldSpecs": [
{
"name": "event_type",
"dataType": "STRING"
},
{
"name": "channel",
"dataType": "STRING"
}
],
"dateTimeFieldSpecs": [
{
"name": "eventTime",
"dataType": "TIMESTAMP",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:DAYS"
}
],
"primaryKeyColumns": [
"event_type",
"channel"
]
}saurabh dubey
07/14/2022, 11:02 AMprimaryKeyColumns.
Then enable dedup in your table config (refer to https://docs.pinot.apache.org/basics/data-import/dedup)
With this, pinot will ingest only the first row with a given (event_type, channel, hour). And reject duplicates.Johan Adami
07/14/2022, 1:22 PMeventTime with an hourly version and use an ingestion transform function to floor it to hourlyJohan Adami
07/14/2022, 1:24 PMHarish Bohara
07/14/2022, 1:35 PM