Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47784

[State API v2] Merge TimeoutMode and TTLMode into TimeMode

    XMLWordPrintableJSON

Details

    Description

      Currently, users need to specify the notion of time (ProcessingTime/EventTime) for timers and ttl separately. This allows users to use a single parameter.

      We do not expect users to use mix/match EventTime/ProcessingTime for timers and ttl in a single query because it makes hard to reason about the time semantics (when will timer be fired?, when will the state be evicted? etc.). Its simpler to stick to one notion of time throughout timers and ttl.

      Attachments

        Issue Links

          Activity

            People

              bhuwan.sahni Bhuwan Sahni
              bhuwan.sahni Bhuwan Sahni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: