txl2017 commented on issue #7312:
URL: https://github.com/apache/hudi/issues/7312#issuecomment-1350489131

   yes, it's.
   at first, we can use ttl to manage data's life cycle, and this is a normal 
requirement.
   in addition, we can use ttl to trigger a event, to implements some other 
logic if not want deleting records.
   
   for example, our sensors upload data every 10 second, if some sensors is 
bad, it will not upload data any more, 
   in the upload data have a field `STATUS`, to mark the sensor's status, if a 
sensor not upload data in 6 minutes,
   we think the sensor is bad and have to change the `STATUS` value to 0.
   
   so, we want a ttl event, if sensor's last time more than 6 minutes, not 
delete record but change some value.


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to