andygrove opened a new pull request, #4710: URL: https://github.com/apache/datafusion-comet/pull/4710
## Which issue does this PR close? N/A ## Rationale for this change The per-minor shim folders `spark-4.1` and `spark-4.2` each carried byte-identical copies of four files, so every change had to be made twice and could drift. ## What changes are included in this PR? - Add a new source root `spark/src/main/spark-4.1+` shared by the Spark 4.1 and 4.2 profiles via a new `shims.minorPlusVerSrc` Maven property. - Move the four shared shims (`ShimPrepareExecutedPlan`, `CometInternalRowShim`, `ShimCometUnionExec`, `CometExprShim`) into it. The 4.1 and 4.2 copies of `CometExprShim` were identical apart from comment wording, now made version-neutral. - The property defaults to an empty placeholder (`spark-none`), so Spark 4.0 and the 3.x profiles are unaffected. ## How are these changes tested? `test-compile` passes for the `spark-4.0`, `spark-4.1`, `spark-4.2`, and `spark-3.5` profiles. -- 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]
