Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions datafu-spark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

-----------

Expand Down
4 changes: 2 additions & 2 deletions datafu-spark/build_and_test_spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion site/source/docs/spark/getting-started.html.markdown.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

<br>
## Examples
Expand Down
2 changes: 1 addition & 1 deletion site/source/docs/spark/guide.html.markdown.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down