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

SPIP: State Data Source - Reader

    XMLWordPrintableJSON

Details

    Description

      State Store has been a black box from the introduction of the stateful operator. It has been the “internal” data to the streaming query, and Spark does not expose the data outside of the streaming query. There is no feature/tool for users to read and modify the content of state stores.

      Specific to the ability to read the state, the lack of feature brings up various limitations like following:

      • Users are unable to see the content in the state store, leading to inability to debug.
      • Users have to perform some indirect approach on verifying the content of the state store in unit tests. The only option they can take is relying on the output of the query.

      Given that, we propose to introduce a feature which enables users to read the state from the outside of the streaming query.

      SPIP: https://docs.google.com/document/d/1_iVf_CIu2RZd3yWWF6KoRNlBiz5NbSIK0yThqG0EvPY/edit?usp=sharing

       

       

      Attachments

        Issue Links

          Activity

            People

              kabhwan Jungtaek Lim
              kabhwan Jungtaek Lim
              Jungtaek Lim Jungtaek Lim
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: