yihua opened a new pull request, #18786: URL: https://github.com/apache/hudi/pull/18786
### Describe the issue this Pull Request addresses Closes #18784 Drops the `hudi-spark3.3.x` module and `spark3.3` Maven profile. After this change, the minimum supported Spark version is 3.4. Spark 3.3 is end-of-life upstream and maintaining the adapter blocks simplifications in shared Spark code. ### Summary and Changelog - Delete `hudi-spark-datasource/hudi-spark3.3.x/` module and its sources. - Remove the `spark3.3` Maven profile and `spark33.version` property from the root `pom.xml`. - Drop Spark 3.3 jobs from `.asf.yaml`, `.github/workflows/bot.yml`, `release_candidate_validation.yml`, `maven_artifact_validation.yml`. - Drop Spark 3.3 handling from release/bundle scripts (`deploy_staging_jars.sh`, `validate_staged_bundles.sh`, `ci_run.sh`, `run_docker_java17.sh`, the Spark 3.3.4 base image build script, `Dockerfile`). - Remove `isSpark3_3` / `gteqSpark3_3_2` helpers and the `Spark3_3Adapter` / `Spark33*` fallback branches in `SparkAdapterSupport` and `HoodieAnalysis`. Unsupported Spark versions now throw `IllegalStateException`. - Update root README, `hudi-spark-datasource/README.md`, the PySpark quickstart README, and the bundle-validation README to refer to Spark 3.4+ examples. - Remove dead Spark 3.3 branches in `TestHoodieSparkUtils`, `TestCOWDataSource`, `TestMORDataSource`, `TestMergeIntoTable2`, `TestHoodieDeltaStreamer`, and `TestMercifulJsonToRowConverterBase`. Follow-up cleanup (simplifying logic where 3.4+ is now the minimum, e.g., inlining `gteqSpark3_3_2` checks that are now always true, removing historical "borrowed from Spark 3.3" comments, etc.) is intentionally out of scope for this PR. ### Impact Breaking change: Spark 3.3 users must upgrade to Spark 3.4 or later to use Hudi master. No data-format or wire-protocol changes. ### Risk Level low — purely deletion of a Spark version path. Remaining Spark 3.4/3.5/4.0/4.1 CI matrices cover the supported versions. ### Documentation Update - Updated `README.md` Maven build options table. - Updated `hudi-spark-datasource/README.md` module and version-support tables. - Updated `hudi-examples/.../python/README.md` and `HoodiePySparkQuickstart.py` example to use `spark3.5`. - Updated `packaging/bundle-validation/README.md` to use the `flink1181hive313spark343` example. ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable (N/A — coverage moves to the remaining Spark 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]
