HeartSaVioR commented on PR #60087: URL: https://github.com/apache/spark/pull/60087#issuecomment-6758518834
> [!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/60087#pullrequestreview-5833235280) of 8529e633e86. Every finding is addressed in [c45ebaea1e7](https://github.com/apache/spark/commit/c45ebaea1e785c3674e8cc06b6872823725f1d62): - **The `maxRowsPerKey` bound is tested only at 1.** A byte bound replaces `maxRowsPerKey`. Its per-key cutoff is tested at two values, each with a key at the bound, one over it, and one whose extra row a lookup-side filter drops. - **The TTL duplicate-key test never reaches an expiry.** With the clock now passed in, the test moves it past the TTL right after the probe. It asserts the number of clock readings, and that the last batch requests the key again. - **A test name claims deduplication that the test can't observe.** It's renamed, and asserts 2 and 3 directly. - **The other findings** are answered on their threads. - **The cache is bounded only by counts.** It now has a byte bound: `spark.sql.join.externalLookup.cache.maxBytes`, 16m per input partition by default, replaces `maxEntries` and `maxRowsPerKey`. The cache stays on by default. - **Options of a hint that marks no lookup side are dropped.** An option-only hint above a join now fails with `NOT_ON_LOOKUP_SIDE`, and the marker keeps only the options the user set. -- 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]
