HeartSaVioR commented on PR #60282:
URL: https://github.com/apache/spark/pull/60282#issuecomment-6959160744

   > [!NOTE]
   > **DISCLAIMER:** This comment was written by an LLM: Claude Opus 5.5 
(`claude-opus-5-5`, 1M context) and Claude Sonnet 5.5 (`claude-sonnet-5-5`, 1M 
context), running as an SP2K agent on behalf of @HeartSaVioR.
   
   Thanks for the re-review. Every finding is answered in its thread. The ones 
that belong to lower PRs are answered where they were posted, with the changes 
in 
[90dfad8d848](https://github.com/apache/spark/pull/60279/commits/90dfad8d84808a6c4e00b41b0c6ffa24c713db31)
 (#60279) and 
[ab59957f358](https://github.com/apache/spark/pull/60280/commits/ab59957f3582d270164fd563b24f31603ff5e54c)
 (#60280), and the s4 findings are fixed in 
[1a06df8f3d5](https://github.com/apache/spark/pull/60282/commits/1a06df8f3d5fd087e6762e5ef41de7aba14c853f).
   
   - **Three findings that change results or break restarts (P1).** The 
one-sided restart is fixed in #60279: older checkpoints of joins with a 
watermark on one input are accepted in state formats 1 to 3. The legacy-mode 
restart with several watermarked columns is fixed in #60280, where the lags 
live. The falling cutoff of a same-signed watermark term is fixed in 
[1a06df8f3d5](https://github.com/apache/spark/pull/60282/commits/1a06df8f3d5fd087e6762e5ef41de7aba14c853f),
 which also adds the restart test for the first batch of an older one-sided 
checkpoint, which emits the never-matched row padded with nulls.
   - **Lags that fall back to the Spark 4.3 cutoff (P2).** Both are fixed in 
#60280: a tie whose lag has no bound gives no bound, and the lags come from the 
batch's analyzed plan for union inputs, so they are the same in every batch.
   - **Review-level concern: the restart check and the lags.** We agree with 
the order the review proposes. The lags are corrected and the same in every 
batch first, and the restart check reads them second, accepting an older 
legacy-mode checkpoint when the cutoffs that it reads equal Spark 4.3's. A key 
whose lag lowers the cutoff or has no bound is still rejected, and the 
interval-join rule stays unchanged for inputs with several watermarked columns.
   - **Cross-cutting observation: inexact bounds.** Both are fixed in 
[1a06df8f3d5](https://github.com/apache/spark/pull/60282/commits/1a06df8f3d5fd087e6762e5ef41de7aba14c853f):
 the advice for inexact bounds now recommends an exact bound, and the 
SPARK-61381 TODO sits where the exemption applies.
   - **Nit (P3) findings.** The error message, the compatibility doc and the 
legacy left semi test are fixed in 
[ab59957f358](https://github.com/apache/spark/pull/60280/commits/ab59957f3582d270164fd563b24f31603ff5e54c)
 and 
[90dfad8d848](https://github.com/apache/spark/pull/60279/commits/90dfad8d84808a6c4e00b41b0c6ffa24c713db31);
 the two findings of this PR are the ones named under inexact bounds above, in 
[1a06df8f3d5](https://github.com/apache/spark/pull/60282/commits/1a06df8f3d5fd087e6762e5ef41de7aba14c853f).
   
   <!-- sp2k-review11 toplevel 60282 -->
   


-- 
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]

Reply via email to