Rohit Anilkumar
01/27/2023, 2:53 PMKartik Khare
01/27/2023, 3:21 PMtimeColumn configured in the table config. The retention job runs periodically in the controller every 6 hours by default.
you can check the endTime value in the metadata of segments which have data before 18th janRohit Anilkumar
01/27/2023, 3:43 PMRohit Anilkumar
01/27/2023, 7:05 PMselect "time",
DATETIMECONVERT(
"time", '1:MILLISECONDS:EPOCH', '1:HOURS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm',
'1:DAYS'
) AS convertedTime
from
qrcodes order by "time" asc
time convertedTime
1640925981801 2021-12-31 00:00
1640926947102 2021-12-31 00:00
1640958221555 2021-12-31 00:00
1640958221562 2021-12-31 00:00
1640958342132 2021-12-31 00:00
1640958342153 2021-12-31 00:00
1640995223313 2022-01-01 00:00
1640995223424 2022-01-01 00:00Rohit Anilkumar
01/27/2023, 7:06 PM"segmentsConfig": {
"timeType": "MILLISECONDS",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "365",
"replication": "2",
"timeColumnName": "time",
"minimizeDataMovement": false
}Kartik Khare
01/27/2023, 7:51 PMselect "time",
DATETIMECONVERT(
"time", '1:MILLISECONDS:EPOCH', '1:HOURS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm',
'1:DAYS'
) AS convertedTime, $segmentName
from
qrcodes order by "time" ascKartik Khare
01/27/2023, 7:51 PMRohit Anilkumar
01/27/2023, 8:04 PMKartik Khare
01/27/2023, 8:20 PM