ump45nose commented on PR #7228:
URL: 
https://github.com/apache/datafusion-comet/pull/7228#issuecomment-7014592877

   Rebased the branch onto current `main` (`d187e6823`) so the PR is 
`MERGEABLE` again; only `native/jni-bridge/src/errors.rs` conflicted.
   
   **Conflict resolution.** `main` now extracts a Spark payload through 
`Context`/`Shared`/`External` wrappers (`extract_spark_payload`), which covers 
what this branch added as 
`wrapped_external_spark_exception`/`external_spark_exception`, so those two 
helpers are gone. `file_read_error` (called by the scan to name the failed 
file) stays and now gates on `extract_spark_payload` instead of the removed 
`parquet_external_spark_error`. The regression test for a `CannotReadFile` 
wrapped by a repartition or hash-join build side is kept and passes on top of 
`main`'s implementation. The file-read classification in the no-payload arm is 
unchanged.
   
   **Local verification** (macOS arm64, rustc 1.100.0, JDK 21.0.13, protoc 
36.2):
   
   - `cargo test -p datafusion-comet --lib file_error_context` — 3 passed 
(`read_failures_name_the_failed_file`, `file_paths_stay_with_their_streams`, 
`other_errors_keep_their_type`)
   - `cargo test -p datafusion-comet --lib parquet::` — 347 passed, 1 ignored
   - `cargo test -p datafusion-comet-jni-bridge --lib` — 48 passed, 4 failed; 
the same 4 (`error_from_panic`, `jint_array_panic_exception`, 
`jlong_panic_exception`, 
`shuffle_size_limit_survives_datafusion_wrappers_and_jni`) fail identically on 
unmodified `main` here with `assertion failed: env.exception_check()`, i.e. 
they need the CI JVM fixture
   - `cargo fmt --all --check` and `cargo clippy -p datafusion-comet-jni-bridge 
--lib -- -D warnings` clean
   
   Not verified locally: the Scala side (`SparkErrorConverter.scala`, 
`CometTopKSuite.scala`) — I did not run a Maven/Spark build, so those files are 
covered by CI only. CI on this head is waiting for maintainer approval, same as 
before.
   


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