andygrove opened a new pull request, #7799:
URL: https://github.com/apache/datafusion-comet/pull/7799

   ## Which issue does this PR close?
   
   Part of #7288.
   
   ## Rationale for this change
   
   Comet Native Executors is an experiment that has not shipped in a release. 
Keeping it in this repository costs more than it returns: it has its own Cargo 
workspace and lockfile, a dedicated CI job, a dependabot entry, a 
release-process step, and hooks in the planner that every change to planning 
has to account for. Development continues outside this repository, so the 
experiment no longer needs a home here.
   
   ## What changes are included in this PR?
   
   - Removes `native/native-executors` (the `comet-scheduler` and 
`comet-executor` binaries built on DataFusion Ballista) and 
`native/core/src/execution/native_executors` (`CometFragmentExec`).
   - Removes `native_executors.proto` and the proto fingerprint that only the 
cluster used.
   - Removes the planner's native-input mode: `with_native_inputs`, 
`without_data`, and the checks that refused JVM expressions and native UDFs 
under it. Planning on a Spark executor is unchanged.
   - Restores `prepare_datafusion_session_context` to a single function, and 
the visibility changes in `scan.rs`, `shuffle.rs` and `spark_config.rs` that 
only the cluster needed.
   - Removes the `linux-test-native-executors` job, the format check for the 
workspace, its dependabot entry, its RAT exclusion, and its step in the release 
process.
   
   `JVMClasses::with_env` keeps returning an error when no JVM was started, 
rather than dereferencing an unset VM. That is a safety improvement that does 
not depend on the cluster, so it stays, with its comments reworded and its test 
kept.
   
   `CometNativeArrowSource` is part of the shuffle path and is not touched.
   
   ## How are these changes tested?
   
   - `cargo clippy --workspace --all-targets -- -D warnings` and `cargo fmt 
--all -- --check` in `native/` pass.
   - `cargo test -p datafusion-comet -p datafusion-comet-jni-bridge --lib` 
passes except for five `http_metrics` tests that also fail locally without this 
change.
   - No JVM code changed.
   


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