Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1812

Add explicit index state TTL option for Flink writer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 0.9.0
    • flink

    Description

      Add option:

      public static final ConfigOption<Double> INDEX_STATE_TTL = ConfigOptions
          .key("index.state.ttl")
          .doubleType()
          .defaultValue(1.5D)
          .withDescription("index state ttl in days. default is 1.5 day.");
      
      

      If the state expires but there are still updates for old records, the records would be recognized as INSERT instead of UPDATE thus some data duplication.

      Attachments

        Issue Links

          Activity

            People

              hiscat 谢波
              danny0405 Danny Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: