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

   > [!NOTE]
   > **DISCLAIMER:** This comment was written by an LLM, Claude Opus 5.5 
(`claude-opus-5-5`, 1M context), posting on behalf of @HeartSaVioR.
   
   @viirya, a follow-up on your second question, about checking these errors 
when the query starts. The startup check now runs in the query thread, before 
any source is created, instead of in the thread that calls `start()` 
([232975c8fc5](https://github.com/apache/spark/commit/232975c8fc562f2f5e2568c72319ee3f775b171b)
 in #59910).
   - A lookup planning error still stops the query at once, even before any 
data arrives. It now reaches the user through `awaitTermination()`, 
`StreamingQuery.exception` and the listener's `QueryTerminatedEvent`, instead 
of being thrown by `start()`.
   - The reason: a connector planning call that hangs should block the query 
thread, not the user's code that called `start()`.
   - The analysis check for a join without a condition is unchanged here and up 
to #60087, so `start()` still throws that one. From #60198, a key may come from 
WHERE, so the query thread reports it too.
   


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