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

TransformWithState doesn't set implicit grouping key when lazy iterators are used

    XMLWordPrintableJSON

Details

    Description

      When a lazy iterator is used, the implicit key for state updates in TWS is not set properly. This is because the implicit key is set as a thread local only when `handleInputRows` is called, not when methods on the returned iterator are invoked. Both eager and lazy iterators should be supported.

      Attachments

        Issue Links

          Activity

            People

              neilramaswamy Neil Ramaswamy
              neilramaswamy Neil Ramaswamy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: