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

   > [!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, 
[047920e1166](https://github.com/apache/spark/pull/60713/commits/047920e1166ac12f3de8773d31f2c3372ca9b1dc).
   
   - The check now counts only operators that drop late rows 
(flatMapGroupsWithState and applyInPandasWithState with an event-time timeout, 
transformWithState in event-time mode, aggregations, deduplications whatever 
their keys, dropDuplicatesWithinWatermark, and stream-stream joins), and only 
when their input has an event-time column. So a later operator that never drops 
late rows is no longer rejected, and a deduplication without an event-time key 
is now rejected.
   - The check now runs on the first batch's optimized plan, with CTE 
references inlined. It sees a range written in a filter above the join, as 
eviction does, and a join defined in a SQL CTE.
   - Kept: the rule does not trace which input's event time a later operator 
filters by. A trace that misses a path would accept a query that drops rows 
silently; a rejection is visible and the correctness-check conf turns it into a 
warning. The description now says so.
   - Kept: the legacy error condition, shared with the rest of the 
chained-operator check.
   - Added: a TODO and doc text for the Update-mode deferral, tests for 
stream-static and left semi joins and for both restart paths, and a migration 
guide entry for 4.5.
   
   Each fix has a test that fails on the previous head. The stream-static, left 
semi and restart tests pin behavior that was already correct.
   
   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