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

   > [!NOTE]
   > **DISCLAIMER:** This comment was written by an LLM, Claude Opus 5.5 
(`claude-opus-5-5`, 1M context), posting on behalf of @HeartSaVioR.
   
   Answers to the [AI 
review](https://github.com/apache/spark/pull/60055#pullrequestreview-5852367950)
 of 429ae4da4fb, with a reply on each inline comment:
   - **All three findings are fixed** in 
[2d8550bbec1](https://github.com/apache/spark/commit/2d8550bbec115caab7bae3c3f9ac22142210bac8).
   - **Interleaved range keys.** The batching stays as it is: a batch of a 
range lookup ends at the first change of key. Since 
[2d8550bbec1](https://github.com/apache/spark/commit/2d8550bbec115caab7bae3c3f9ac22142210bac8),
 consecutive equal keys share one request whatever the source's limit. A 
connector that wants fewer requests for interleaved keys can decline the range 
and keep batching the equality. Grouping a window by key is a follow-up, listed 
with the sorted search for range-only lookups in §7 of the [design 
document](https://gist.github.com/HeartSaVioR/0143cdaad3079d1455be8004ee401ec4).
   - **Stream-side ON guards that can fail.** This PR doesn't change. #60198 
pushes a stream-side conjunct of an inner or left semi join below the join, as 
for an ordinary join. A test there 
([da986b58363](https://github.com/apache/spark/commit/da986b58363a408c88f3fe2b8d296468acbcb7a1))
 runs this case under ANSI mode for both join types, in ON and in WHERE, in 
both orders, and a left outer join fails as the ordinary join does. The stack 
lands in one release (§7 of the [design 
document](https://gist.github.com/HeartSaVioR/0143cdaad3079d1455be8004ee401ec4)).
   


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