HeartSaVioR commented on PR #60283: URL: https://github.com/apache/spark/pull/60283#issuecomment-6775650914
> [!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 [review](https://github.com/apache/spark/pull/60283#pullrequestreview-5839775963). Answers to the items in its summary; the inline comments are answered in their threads. - **Shared repair plan 1.** Done ([f885a5a0876](https://github.com/apache/spark/pull/60283/commits/f885a5a08766d0a1ce402ab9dff35dce9af28b98)): the error message adds the TIMESTAMP-column rule, and the guides apply it to range conditions only, keeping equality on event time or a time window as a qualifying constraint. - **PR description: runtime change.** Updated: the description now says that an inner join whose only bound compares whole windows keeps that input's state, and that the checkpoint version stays unchanged because state written before stays valid when fewer rows are evicted. - **PR description: title and scope.** Updated: the title is now "Reject non-timestamp range bounds in stream-stream outer and semi joins", and the description names numeric, DATE, TIMESTAMP_NTZ and time window columns, and left semi joins. - **Decision challenge: left semi joins with a numeric bound.** The rejection stays the default: a left semi join whose only bound is on a numeric column never evicts its left state, so it does not meet the requirement that the admission check enforces. Users who need the old admission can set `spark.sql.streaming.join.checkFinalization.enabled` to `false` ([c4bdbf09fdb](https://github.com/apache/spark/pull/60280/commits/c4bdbf09fdbea72fee5ab22ad03b839f1d9d7a37)). The rejection then becomes a warning, and the query runs as before with unbounded left state, while eviction keeps the corrected rules. The migration guide names the conf. <!-- sp2k-review1 toplevel 60283 --> -- 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]
