Kimahriman commented on PR #38853: URL: https://github.com/apache/spark/pull/38853#issuecomment-1333073885
One question I did have, as I started digging into this I thought the problem was simply related to https://issues.apache.org/jira/browse/SPARK-38277, but as I dug into it I realized that `writeBatch.clear` is called, but by a task completion listener that calls `store.abort` [here](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/package.scala#L101-L103). I wasn't sure if this was intentional or not, seems like a slightly awkward way to clear things after a partition completes. If it was intentional that issue can probably be closed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
