Repository navigation
[DATAFU-182] feat(spark): add Spark 3.5 support - #55
Conversation
Extend DataFu Spark compatibility to the Spark 3.5 release line. JIRA: DATAFU-182
|
It looks good! One question - if you didn't change any of the actual source files, only changed the Python version used in testing, maybe that means that version 2.1.0 does support Spark 3.5.x, and we can update that in the README instead of 2.2.0 |
Right, the source files are effectively unchanged. 2.1.0's declared range was 3.0.x–3.4.x, so the question is whether we want to retroactively extend that declared range to include 3.5.x, or bump to 2.2.0 and give that the wider range. |
|
Thanks for this! One concern I wanted to check before we update the compatibility table: So I tested the actual released artifact:
Also, Caveats: I only ran this against 3.5.9, not 3.5.0–3.5.8, and tests only cover what they exercise. A couple of smaller things:
Separately, and not blocking this PR: it might be worth a follow-up JIRA for a CI job that builds the jar once with the release |
Align compatibility guidance with released-artifact validation. JIRA: DATAFU-182
|
Thanks for the detailed validation and review. I did test some versions locally, but I couldn't remember if I tested all of them, so I repeated the released-artifact test using the published datafu-spark_2.12:2.1.0 JAR against Spark 3.5.0 through 3.5.8 on Java 8. All 30 tests passed for every version. Together with your Spark 3.5.9 result, this covers Spark 3.5.0 through 3.5.9. I also pushed the requested documentation updates:
|
|
Thank you @InbalHoni ! I will take one last look and then merge this, since I think all the issues have been addressed. The changes in the documentation in the site directory require a rebuild of our static website - I'll get to that as soon as I can, but it's not a blocker for this PR. If you're up for it, feel free to work on DATAFU-187 yourself. |
Summary
Adds support for Spark 3.5.x by extending the Scala 2.12 build and test matrix
through Spark 3.5.9, updating the compatibility documentation, and moving CI
to Python 3.8 as required by Spark 3.5.
Validation
Before opening this PR, I manually ran the
testsworkflow fromfeature/ spark-3.5on my origin fork. The workflow completed successfully .