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

   > [!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, 
[6ef8e5bb4b1](https://github.com/apache/spark/pull/60667/commits/6ef8e5bb4b1ee66421172ae55b7f69288378f932).
 The NULL rule now applies only to a column that the default mode picked, so 
the cast-bounded fallback keeps master's handling of rows with a NULL event 
time; a new test covers that fallback. State format 4 no longer re-scans 
already-evicted entries after the first batch of a run. The doc, migration 
note, TODO and test nits are fixed, and the change now targets Spark 4.5. The 
output watermark stays with 
[SPARK-62001](https://issues.apache.org/jira/browse/SPARK-62001), where a guard 
PR is in progress; this PR's case gets a follow-up on top of it. We keep the 
legacy mode as the only way back, and the full V4 scan for an input evicted by 
another column.
   
   Decision challenges:
   - **The legacy mode is the only way back:** We'll keep it. This changes 
eviction to fix wrong results, and a setting that brings back the earlier 
eviction on its own would bring back those results. The legacy mode stays the 
documented way back for the whole query.
   - **V4 scans an input evicted by another column from the start:** We'll keep 
the full scan for now. It is only extra work on state format 4, which is 
internal, and a bound needs new per-batch bookkeeping of the smallest appended 
value.
   
   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]

Reply via email to