HyukjinKwon opened a new pull request, #796:
URL: https://github.com/apache/spark-connect-rust/pull/796

   ### What changes were proposed in this pull request?
   
   Doc fixes that a round-2 review found:
   - **The Rust API docs.**
     - `DataType::from_json_str` linked `[from_json]`, which rustdoc could not 
resolve, so `cargo doc` with `-D rustdoc::broken_intra_doc_links` failed. It 
now links `DataType::from_json`.
     - `DataType::simple_string`'s examples quote `"array<int>"` and the others 
as code, as rustdoc read them as HTML tags.
     - Seven docs of public items that linked private ones now name them as 
code.
     - A bare URL in `artifact.rs` is now a link.
     - `cargo doc --no-deps` of `apache-spark-connect`, `-core`, `-macros` and 
`-build` passes with `RUSTDOCFLAGS="-D warnings"`. The generated 
`apache-spark-connect-proto` keeps the doc comments of the `.proto` files.
   - **`dev/design/architecture.md`** listed four crates. It now also lists 
`apache-spark-connect-macros`, `apache-spark-connect-build` and the Rust 
protobuf runtime of `pyspark-rs` (`src/pbmsg`). #774 updated only 
`docs/architecture.md`.
   - **`e2e_python_worker_env`** (`tests/wasm-udf-wasi`) returns early against 
a server before 4.4.0, as `spark.pythonWorkerEnv.*` is of 4.4.0. CI's server is 
4.3.0, so it checks nothing there, while `dev/design/ci.md` listed it among the 
tests the job runs.
     - It now prints that it skips, and CI runs it with `--show-output`, so the 
log shows it.
     - `dev/design/ci.md` says so.
   
   ### Why are the changes needed?
   
   So that the docs build without broken links and describe the crates and CI 
as they are, and so that a skipped test says so.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - `RUSTDOCFLAGS="-D warnings" cargo doc --no-deps -p apache-spark-connect -p 
apache-spark-connect-core -p apache-spark-connect-macros -p 
apache-spark-connect-build` passes. Before, it failed on the `from_json` link 
and warned 9 times.
   - `cargo fmt --all --check`, and `rustfmt --check` of the changed test.
   
   ### 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]

Reply via email to