HyukjinKwon opened a new pull request, #808: URL: https://github.com/apache/spark-connect-rust/pull/808
### What changes were proposed in this pull request? The public docs of `WhenMatched::update`, `WhenNotMatched::insert` and `WhenNotMatchedBySource::update` (crates/spark-connect/src/merge.rs) linked to the private `assignment_pairs`, since #800 (SPARK-61911). So `RUSTDOCFLAGS="-D warnings" cargo doc --no-deps -p apache-spark-connect` failed with three `private_intra_doc_links` errors, where #796 (1d383d8d) had made it pass. With this PR, those docs describe what `assignment_pairs` does instead: the merge sends the assignments in their order, as PySpark sends `assignments.items()`. A `Vec` or an ordered map keeps the order of its pairs, and a `HashMap` sends them in its own order. ### Why are the changes needed? So that the Rust API docs build with `-D warnings` again. No workflow runs `cargo doc`, so CI did not catch it. ### Does this PR introduce _any_ user-facing change? No, only the text of three doc comments. ### How was this patch tested? - `RUSTDOCFLAGS="-D warnings" cargo doc --no-deps -p apache-spark-connect -p apache-spark-connect-core`: it fails on master with the three errors, and passes here. - `cargo fmt --all --check`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 This pull request and its description were written by Isaac. -- 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]
