HeartSaVioR commented on PR #60668: URL: https://github.com/apache/spark/pull/60668#issuecomment-7092365469
> [!NOTE] > **DISCLAIMER:** This comment was written by an LLM: Claude Opus 5.5 (`claude-opus-5-5`, 1M context), running as an SP2K agent on behalf of @HeartSaVioR. Thanks for the review. I pushed one commit, [909c75670bd](https://github.com/apache/spark/pull/60668/commits/909c75670bda2a5e28650d26865a96dfb4266f53). I also rebased this branch on the updated #60667 and #60713 instead of merging them, so the history is linear and has no merge commits; this needed a force-push. Please review only the commits tagged [SPARK-61989]. A query restarted from a checkpoint written before this change now keeps the earlier eviction, so its later operators receive the same rows as before the upgrade, while a new query gets the new eviction and the check. The check's message now fits inputs evicted by another key, and the legacy-mode exemption has tests. The check now traces the later operator's event time (#60713), here too, so only an operator that can read the flagged input's event time is rejected; the left semi admission keeps master's rule ([SPARK-61380](https://issues.apache.org/jira/browse/SPARK-61380)). #60713's round 5, [e4ec72eccf8](https://github.com/apache/spark/pull/60713/commits/e4ec72eccf83367ee1a8d59de8182b7ed170e1ee), fixes the two findings that were still open in the check's trace: an aggregation's trace now starts from its grouping columns, and the trace follows nodes that pass their input's columns through unchanged. This branch does not include that commit yet; if this review raises those points again, they are fixed in #60713. Decision challenges: - **Legacy mode is the only way back:** We keep the legacy mode as the way back, as answered before. With this update, a checkpoint written by an earlier release, including a state format 4 one, restarts and keeps the earlier eviction, so it no longer needs the legacy mode or a new checkpoint. The PR description is updated. -- 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]
