felipepessoto opened a new pull request, #13057: URL: https://github.com/apache/gluten/pull/13057
## What changes are proposed in this pull request? Fixes #13037. Extract the temporary Delta source workarounds from `setup-delta.sh` into an executable `apply-delta-test-patches.sh`: - shallow-clone-safe cherry-picks for delta-io/delta#7104 and delta-io/delta#7105; - the deterministic `DeltaParquetFileFormatSuite` row-count fixture patch; - fail-fast injections for the two memory-heavy `DeletionVectorsSuite` 2-billion-row tests. The extracted script preserves patch ordering, validates expected files and exact patch counts, distinguishes already-applied upstream fixes from source drift, and prints the resulting source diff. `setup-delta.sh` retains cloning, Gluten bundle classpath setup, `DeltaSQLCommandTest.scala` replacement, and scalastyle configuration. ## How was this patch tested? - `bash -n .github/workflows/util/delta-spark-ut/apply-delta-test-patches.sh` - `bash -n .github/workflows/util/delta-spark-ut/setup-delta.sh` - Applied the extracted script to a fresh depth-1 Delta v4.2.0 checkout and verified all 11 expected test source files changed - Ran the complete `setup-delta.sh` flow against Delta v4.2.0 and verified the bundle copy, harness replacement, ordered patches, final source diff, and scalastyle update - Verified both injected Scala failure lines remain below Delta's 100-character limit - `git diff --check` ## Was this patch authored or co-authored using generative AI tooling? Generated-by: GitHub Copilot App 1.0.84-5 -- 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]
