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

   > [!NOTE]
   > **DISCLAIMER:** This comment was written by an LLM: Claude Sonnet 5.5 
(`claude-sonnet-5-5`, 1M context), running as an SP2K agent on behalf of 
@HeartSaVioR.
   
   Thanks for the re-review. Both findings are answered in their threads.
   
   - **Execution lags with an idle union input (P2).** Fixed in 
[ab59957f358](https://github.com/apache/spark/pull/60280/commits/ab59957f3582d270164fd563b24f31603ff5e54c)
 on #60280, where the lags live, and it reaches this PR through the merge of 
#60280. The columns that an input builds without a watermark come from the 
batch's analyzed plan, so the lags do not change when that input has no data.
   - **Equality key on an unrelated later watermarked column (P2).** We keep 
the Spark 4.3 cutoff for such a key on purpose: legacy mode lowers or removes a 
cutoff only where the plan shows that rows can hold the key below the 
late-filtered column. The thread has the reasons. Two cases where the plan does 
show a problem are fixed in #60280.
   - **Cross-cutting observation.** Both findings sit in the lag model of 
#60280, as the review says, so the fixes are there and need no change in this 
PR. This PR's own change in this round is the rename of the legacy-mode test in 
`StreamingJoinSelectedEventTimeSuite`, in 
[df0b431db6e](https://github.com/apache/spark/pull/60281/commits/df0b431db6e78ac234f8158e3471a51e31acd52e).
   - **PR description suggestions.** The description is being rewritten shortly 
and will cover both: that at head the range bound comes from #60280's lag 
model, and the narrower cost for an inner join whose bound runs only through a 
later watermarked column that the plan relates to the first one not at all or 
without a bound.
   
   <!-- sp2k-review11 toplevel 60281 -->
   


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