Updated on 2026-06-27 GMT+08:00

Introduction to Hudi TTL

Notes and Constraints

  • The time To live (TTL) function applies only to MRS 3.5.0-LTS or later.
  • Currently, the system supports only partition-level TTL.

Overview

The TTL mechanism manages the Hudi table data lifecycle, also known as data aging.

If the TTL function is disabled, you may encounter the following scenarios:

  • Scenario 1: To delete an aged partition in stream processing, you must stop the streaming job and execute a DDL command to delete the partition.
  • Scenario 2: Aged partitions cannot be deleted in batches. You can use a TTL rule to age data in each partition in streaming jobs or asynchronous jobs.