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

Minor refactor of StateStoreCustomMetric

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.1.2
    • 3.2.0
    • Structured Streaming
    • None

    Description

      Code in SymmetricHashJoinStateManager relies on the subclass implementations of StateStoreCustomMetric.

      If a new subclass of StateStoreCustomMetric is added, it requires code changes to SymmetricHashJoinStateManager and we may miss the update if there is no existing test coverage.

      To fix this, add new method to trait withNewDesc(desc : String) to StateStoreCustomMetric and use it in SymmetricHashJoinStateManager

      Attachments

        Activity

          People

            vkorukanti Venki Korukanti
            vkorukanti Venki Korukanti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: