HeartSaVioR commented on PR #59909: URL: https://github.com/apache/spark/pull/59909#issuecomment-6720508299
> [!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 questions in the review. The description now has a **Scope** section that lists what each PR of the stack delivers. - **The connector contract and SPARK-60690.** The connector API Javadoc describes the whole feature, as the Scope section now says. #59910 keeps each selected predicate's lookup column in the prepared join (`lookupKeys`), and it checks every selected predicate on every returned row. #60055 adds the `<=>` and range candidates, with their type rules and the `NO_LOOKUP_CANDIDATE` message. - **CHAR padding.** #59910 rejects a lookup-only table that needs CHAR padding. #60055 pads it as a lookup-side stage, as Spark pads a batch read. CHAR and VARCHAR columns are never offered as lookup keys. - **Join-only optimizer rules.** #60198 pushes predicates through lookup joins, in `PushPredicateThroughJoin` and `EliminateOuterJoin`. #59910 moves or rejects Python and external UDFs over lookup columns, with named errors. A subquery over lookup columns in the join condition fails during analysis with `SUBQUERY_IN_JOIN_CONDITION`; tests in #59910 and #60019 check this. - **Comparisons offered in 4.4.0.** This PR offers `=`. #60055 adds `<=>` and ranges. - **Description suggestion.** The description now lists this PR's changes to the connector API Javadoc. -- 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]
