diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 54fe5db2..043e97eb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.7' + python-version: '3.8' - name: Build and run tests run: diff --git a/changes.md b/changes.md index 0f24865e..3b2b27a5 100644 --- a/changes.md +++ b/changes.md @@ -7,7 +7,7 @@ Additions Improvements -* Spark 3.0.0 - 3.4.x supported (DATAFU-175, DATAFU-179) +* Spark 3.0.0 - 3.5.x supported (DATAFU-175, DATAFU-179, DATAFU-182) * Expose dedupRandomN in Python (DATAFU-180) Breaking changes diff --git a/datafu-spark/README.md b/datafu-spark/README.md index cd2e4877..5d110d95 100644 --- a/datafu-spark/README.md +++ b/datafu-spark/README.md @@ -11,7 +11,7 @@ This matrix represents versions of Spark that DataFu has been compiled and teste | 1.7.0 | 2.2.0 to 2.2.2, 2.3.0 to 2.3.2 and 2.4.0 to 2.4.3| | 1.8.0 | 2.2.3, 2.3.3, and 2.4.4 to 2.4.5| | 2.0.0 | 3.0.x - 3.1.x | -| 2.1.0 | 3.0.x - 3.4.x | +| 2.1.0 | 3.0.x - 3.5.x | # Examples @@ -25,7 +25,7 @@ Here are some examples of things you can do with it: * [Count distinct up to](https://github.com/apache/datafu/blob/main/datafu-spark/src/main/scala/datafu/spark/Aggregators.scala#L187) - an efficient implementation when you just want to verify that a certain minimum of distinct rows appear in a table -It has been tested on Spark releases from 3.0.0 to 3.4.2 using Scala 2.12. You can check if your Spark/Scala version combination has been tested by looking [here.](https://github.com/apache/datafu/blob/main/datafu-spark/build_and_test_spark.sh#L20) +It has been tested on Spark releases from 3.0.0 to 3.5.9 using Scala 2.12. You can check if your Spark/Scala version combination has been tested by looking [here.](https://github.com/apache/datafu/blob/main/datafu-spark/build_and_test_spark.sh#L20) ----------- diff --git a/datafu-spark/build_and_test_spark.sh b/datafu-spark/build_and_test_spark.sh index dbc86fc6..a56dae94 100755 --- a/datafu-spark/build_and_test_spark.sh +++ b/datafu-spark/build_and_test_spark.sh @@ -18,8 +18,8 @@ #!/bin/bash # we skip 3.0.0 because it has a bug which fails our Aggregator tests -export SPARK_VERSIONS_FOR_SCALA_212="3.0.1 3.0.2 3.0.3 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.4.0 3.4.1 3.4.2" -export LATEST_SPARK_VERSIONS_FOR_SCALA_212="3.0.3 3.1.3 3.2.4 3.3.4 3.4.2" +export SPARK_VERSIONS_FOR_SCALA_212="3.0.1 3.0.2 3.0.3 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9" +export LATEST_SPARK_VERSIONS_FOR_SCALA_212="3.0.3 3.1.3 3.2.4 3.3.4 3.4.2 3.5.9" STARTTIME=$(date +%s) diff --git a/site/source/docs/spark/getting-started.html.markdown.erb b/site/source/docs/spark/getting-started.html.markdown.erb index 75e8c551..83f99f2a 100644 --- a/site/source/docs/spark/getting-started.html.markdown.erb +++ b/site/source/docs/spark/getting-started.html.markdown.erb @@ -36,7 +36,7 @@ This matrix represents versions of Spark that DataFu has been compiled and teste | 1.7.0 | 2.2.0 to 2.2.2, 2.3.0 to 2.3.2 and 2.4.0 to 2.4.3 | | 1.8.0 | 2.2.3, 2.3.3, and 2.4.4 to 2.4.5 | | 2.0.0 | 3.0.x - 3.1.x | -| 2.1.0 | 3.0.x - 3.4.2 | +| 2.1.0 | 3.0.x - 3.5.x |
## Examples diff --git a/site/source/docs/spark/guide.html.markdown.erb b/site/source/docs/spark/guide.html.markdown.erb index b46e62ad..4ab9174c 100644 --- a/site/source/docs/spark/guide.html.markdown.erb +++ b/site/source/docs/spark/guide.html.markdown.erb @@ -26,7 +26,7 @@ It has a number of useful functions available. This guide will provide examples ## Spark Compatibility -The current version of DataFu has been tested against Spark versions 3.0.0 - 3.4.2, in Scala 2.12. The jars have been published to the [Apache Maven Repository](https://repository.apache.org/content/groups/public/org/apache/datafu/). Other versions can be built by [downloading the source](/docs/download.html) and following the build instructions. +The current version of DataFu has been tested against Spark versions 3.0.0 - 3.5.9, in Scala 2.12. The jars have been published to the [Apache Maven Repository](https://repository.apache.org/content/groups/public/org/apache/datafu/). Other versions can be built by [downloading the source](/docs/download.html) and following the build instructions. ## Calling DataFu Spark functions from PySpark