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

   > [!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](https://github.com/apache/spark/pull/60284#pullrequestreview-5840098488).
 Answers to the items in its summary; the inline comments are answered in their 
threads.
   
   - **Shared repair plan 1.** We are not adding the classifier. Your query's 
early eviction comes from the negative watermark term, which SPARK-61350 
(#60286) rejects; a test there pins it 
([3a696a71dd6](https://github.com/apache/spark/pull/60286/commits/3a696a71dd6416df4d2631f438032af0cb2f3196)).
 The other inexact forms are inexact with or without a constant conjunct: for a 
column without its own watermark, SPARK-61347 (#60282) derives no cutoff from 
them 
([4000ae8f0c6](https://github.com/apache/spark/pull/60282/commits/4000ae8f0c6012cd60655a093ed642ce08e68651)),
 and the general solver fix is a known follow-up (SPARK-61381). The comment now 
states what the check requires 
([3efe52a82f2](https://github.com/apache/spark/pull/60284/commits/3efe52a82f261a9f9e52638a9ecdb71fb70e5737)).
   - **Decision challenge: no rollback configuration.** The rejection stays the 
default. A bound that uses only constants does not follow the other input's 
watermark: in outer joins it stopped eviction, so unmatched rows were never 
emitted, and in left semi joins the optimizer moves it into the left input, 
where it bounds nothing. Users who need the old admission can set 
`spark.sql.streaming.join.checkFinalization.enabled` to `false` 
([c4bdbf09fdb](https://github.com/apache/spark/pull/60280/commits/c4bdbf09fdbea72fee5ab22ad03b839f1d9d7a37)).
 The rejection then becomes a warning and the query starts, while eviction 
keeps the corrected rules, so its state is unbounded. The migration guide names 
the conf.
   
   <!-- sp2k-review1 toplevel 60284 -->
   


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