gengliangwang commented on PR #59520:
URL: https://github.com/apache/spark/pull/59520#issuecomment-6805728396

   @tdcmeehan Done in 829cf99bf6d. A `rust-sdk` job next to `ui` in 
`build_and_test.yml` runs the README commands on the workspace: `cargo build`, 
`cargo test` (with the C harness and the layout test against 
`spark_datasource.h`), `cargo clippy -- -D warnings`, `cargo fmt --check`, and 
`cargo doc` with `-D warnings`. A new `rust-sdk` module in 
`dev/sparktestsupport/modules.py` selects it for changes to `sql/native/rust/`, 
`examples/src/main/rust/` or the header. Before, the SDK's files matched no 
module and fell through to `root`, so a change to the SDK alone ran every job. 
The job pins Rust 1.85, the workspace's `rust-version`, which checks that 
minimum and keeps the lints of a newer clippy from failing an unrelated change 
such as one to the header. It passed here: 
https://github.com/gengliangwang/spark/actions/runs/43082492300/job/130742743445.
 SPARK-61283 is closed as a duplicate.
   


-- 
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