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

   > [!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/60313#pullrequestreview-5851892036)
 of bf1de7c565c:
   - **One push-back:** the real-time mode guide changes in the documentation 
PR that follows the stack. See the inline reply.
   - **The description suggestion** is applied: "The lookup join's metrics 
reach the driver when the batch ends."
   - **The decision challenge is adopted**, in 
[9546cfde10a](https://github.com/apache/spark/commit/9546cfde10ad7cc177585b91973de2ca00e478a7).
 A partition now looks for its next stream row only after it has returned the 
output of its current batch. So a full request's output, and that of a full 
batch served from the cache, no longer waits for the next row, and the cursor 
is closed before the task waits for input. Only a batch that the end of its 
input stopped counts as the last. The cost is the one you describe: in a 
micro-batch, a partition whose input ends exactly at a full request caches that 
request's results, which no batch reads, within the cache's bounds. The 
description's known limitations no longer list this wait, and a request that 
isn't full still waits, as pinned by a test.
   


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