The Spark 3.5, 4.0, and 4.1 modules contain identical Shapefile reader and GeoParquet metadata reader implementations and tests. Maintaining three copies makes fixes harder to keep consistent.
Move the 14 production Scala files, two existing test suites, and data-source registrations into spark/common. Keep their packages, behavior, and dependencies unchanged, and remove the duplicate versioned copies.
Verify clean builds and reader discovery across all three Spark versions, including the shaded artifacts.
This is separate from the GeoPackage consolidation in #3361.
The Spark 3.5, 4.0, and 4.1 modules contain identical Shapefile reader and GeoParquet metadata reader implementations and tests. Maintaining three copies makes fixes harder to keep consistent.
Move the 14 production Scala files, two existing test suites, and data-source registrations into
spark/common. Keep their packages, behavior, and dependencies unchanged, and remove the duplicate versioned copies.Verify clean builds and reader discovery across all three Spark versions, including the shaded artifacts.
This is separate from the GeoPackage consolidation in #3361.