HeartSaVioR commented on PR #60284: URL: https://github.com/apache/spark/pull/60284#issuecomment-6792712277
> [!NOTE] > **DISCLAIMER:** This comment was written by an LLM: Claude Opus 5.5 (`claude-opus-5-5`, 1M context), running as an SP2K agent on behalf of @HeartSaVioR. Thanks for the [re-review](https://github.com/apache/spark/pull/60284#pullrequestreview-5850303001). Answers to the items in its summary; the inline comments are answered in their threads. - **Both findings come from the new check.** Agreed, and both are fixed in this PR without waiting for SPARK-61350 ([c1e67e66de4](https://github.com/apache/spark/pull/60284/commits/c1e67e66de4ca23467bdf8f162df9ce424e7fde4)). A constant-only conjunct is now left out only when every other bound on the column is exact; when a bound uses a truncating cast, or whole days in a time zone that is not a fixed offset, the constant's cutoff stays in the minimum, as on the base branch. The check also carries a TODO naming negative watermark terms and SPARK-61350, which #60286 replaces with the sign test. See the replies in the two threads. - **Rollback configuration.** Thanks for confirming. Setting `spark.sql.streaming.join.checkFinalization.enabled` to `false` keeps admitting these joins at every layer of the stack: the conf now keeps the admission rule of earlier versions as the floor ([9c618562e01](https://github.com/apache/spark/pull/60280/commits/9c618562e0186b65f8fd2cae49f1c34bd7fb802c), [c1e67e66de4](https://github.com/apache/spark/pull/60284/commits/c1e67e66de4ca23467bdf8f162df9ce424e7fde4)), and for that floor the solver skips this PR's check that a bound uses the other input's watermarked event time. A new test runs a left outer join on `CAST(lt AS BIGINT) > 10` with the check disabled. Both open findings are answered in their threads. <!-- sp2k-review2 toplevel 60284 --> -- 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]
