felipepessoto opened a new pull request, #13705: URL: https://github.com/apache/gluten/pull/13705
## What changes are proposed in this pull request? Relates to #12743. The [Spark 3.5 nightly](https://github.com/apache/gluten/actions/runs/44841840032/job/136668119649) can fail the invalid append at `The write did not exercise native Delta statistics`. Spark can report the expected NOT NULL violation before the valid sibling has reached the test's plan observer. The driver then removes the observer, and the test fails before checking cleanup. Change only the shared Velox test fixture. The valid partition writes one native statistics batch, then waits for Spark to cancel it. The invalid partition waits for that first batch before exposing the null. The waits are bounded and the test verifies the valid task was actually canceled. Both partitions, the native-aggregate/worker/memory cleanup checks, and the subsequent recovery write are preserved. No production tracker or workflow changes; #13678 addresses a different queue-handoff issue. ## How was this patch tested? - Rebuilt the Velox JVM reactor against the nightly native libraries for base `21f351b38` and ran `org.apache.spark.sql.delta.GlutenDeltaStatsLifecycleSuite` three consecutive times per configuration: Spark 3.5.5 / Delta 3.3.2 / Scala 2.12 and Spark 4.1.1 / Delta 4.4.1 / Scala 2.13, both on JDK 17. All three cases passed on every run. - In separate instrumented source copies, held the valid writer before observer lookup until the invalid partition was waiting. Both versions then showed the worker accepting the first batch **before** the null was released; the valid task was canceled and all three cases passed. The timing probes are not part of this change. - Scala formatting, license headers, and `git diff --check` passed. The full nightly shard was not run locally. ## Was this patch authored or co-authored using generative AI tooling? Generated-by: GitHub Copilot CLI 1.0.106-8.unstable.r43566476370.g869eef3 (GPT-6.2 Astra) -- 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]
