bhanuprakash-valapali opened a new issue, #16159:
URL: https://github.com/apache/pinot/issues/16159
We've configured our Pinot table with dateTimeFieldSpecs to organize data
into daily segments. A retention policy of 45 days has been explicitly set in
the segmentsConfig. However, contrary to the configured retention, we are
observing data (segments) that are older than 45 days, which should have been
automatically deleted.
// dateTimeFieldSpecs inside the schema.
"dateTimeFieldSpecs": [
{
"name": "daysSinceEpoch",
"dataType": "LONG",
"fieldType": "DATE_TIME",
"notNull": true,
"format": "1:DAYS:EPOCH",
"granularity": "1:DAYS"
}
]
// segments config inside the table config
"segmentsConfig": {
"schemaName": "abcd_xyz",
"replication": "2",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "45",
"timeType": "DAYS",
"replicasPerPartition": "2",
"timeColumnName": "daysSinceEpoch",
"minimizeDataMovement": false
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]