HeartSaVioR commented on PR #59910: URL: https://github.com/apache/spark/pull/59910#issuecomment-6787160683
> [!NOTE] > **DISCLAIMER:** This comment was written by an LLM, Claude Opus 5.5 (`claude-opus-5-5`, 1M context), posting on behalf of @HeartSaVioR. Thanks for the review. On the residual order: you're right that the same gap exists on the stream side, and #60198 covers both cases. A new test there ([da986b58363](https://github.com/apache/spark/commit/da986b58363a408c88f3fe2b8d296468acbcb7a1)) runs your case under ANSI mode, with the stream codes `7` and `abc` and `s.code RLIKE '^[0-9]+$' AND CAST(s.code AS INT) = t.id`, in ON and in WHERE, in both orders: - Inner and left semi joins return the right rows, and no task fails, because predicate pushdown moves the guard below the stream side. - A left outer join keeps the guard in its condition and fails with `CAST_INVALID_INPUT`, as an ordinary stream-static left outer join does. The test asserts both. The stack lands in one release: if it isn't complete when the release branch is cut, the whole feature is disabled for that release (ยง7 of the [design document](https://gist.github.com/HeartSaVioR/0143cdaad3079d1455be8004ee401ec4)). The reply on the AI thread points to #60198. -- 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]
