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

   > [!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 for the remaining nits, 
[3f3b9b6d63d](https://github.com/apache/spark/pull/60666/commits/3f3b9b6d63d87e419beb8d6c5e05e8c530ac1ef3).
 The rejection message and the conf doc now give the right reason for full 
outer joins without a watermarked key. The range arm has a TODO naming 
[SPARK-62002](https://issues.apache.org/jira/browse/SPARK-62002) and 
[SPARK-61989](https://issues.apache.org/jira/browse/SPARK-61989). The migration 
note says that existing queries with such joins fail to restart, and fixes the 
"So is" sentence. The tests add rows for a backward month interval, calendar 
intervals of -1 day and -1 month, and a non-constant TIMESTAMPADD, and every 
rejection row now checks which input the message names.
   
   On the decision challenge (full outer joins without a watermarked key): 
We'll keep the rule. Without a bound on both inputs, a full outer join such as 
`lk = rk AND lt >= rt` never evicts the right input. The query keeps running, 
but it never outputs the unmatched right rows, and that state grows forever. 
The result is silently incomplete, and the programming guide asks for 
watermarks and time constraints exactly to prevent that. Failing at analysis 
names the input that needs the bound, and the internal conf still turns the 
check off. The left outer case you mention, where the left input has no 
watermark of its own, is a gap in eviction, not in the watermark direction, so 
it stays out of this PR.
   
   The PR description now says that a keyed join with a range condition beside 
the key is still accepted as on master.


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