Skip to content

Commit

Permalink
Upgrade spark and dgraph versions (#265)
Browse files Browse the repository at this point in the history
## Checklist before submitting

- [x] Did you read the [contributing
guide](https://github.com/G-Research/spark-dgraph-connector/blob/contributing-guidelines/CONTRIBUTING.md)?
- [ ] Did you update the docs?
- [ ] Did you write any tests to validate this change?  

## Description

Upgrades Spark and Dgraph versions tested in CI.

## Review process for approval

1. All tests and other checks must succeed.
2. At least one core contributors must review and approve.
3. If a core contributor requests changes, they must be addressed.
  • Loading branch information
EnricoMi authored Jun 17, 2024
1 parent 09dacbf commit 9a86cc7
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 93 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
scala-compat-version: '2.12'
scala-version: '2.12.15'
- spark-compat-version: '3.4'
spark-version: '3.4.2'
spark-version: '3.4.3'
scala-compat-version: '2.12'
scala-version: '2.12.17'
- spark-compat-version: '3.5'
spark-version: '3.5.0'
spark-version: '3.5.1'
scala-compat-version: '2.12'
scala-version: '2.12.18'

Expand All @@ -46,11 +46,11 @@ jobs:
scala-compat-version: '2.13'
scala-version: '2.13.8'
- spark-compat-version: '3.4'
spark-version: '3.4.2'
spark-version: '3.4.3'
scala-compat-version: '2.13'
scala-version: '2.13.8'
- spark-compat-version: '3.5'
spark-version: '3.5.0'
spark-version: '3.5.1'
scala-compat-version: '2.13'
scala-version: '2.13.8'

Expand Down
86 changes: 8 additions & 78 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
include:
- dgraph-version: "21.12.0"
- dgraph-version: "22.0.2"
- dgraph-version: "23.0.1"
- dgraph-version: "23.1.0"
- dgraph-version: "23.1.1"
- dgraph-version: "24.0.0"
uses: "./.github/workflows/test-spark.yml"
with:
dgraph-version: ${{ matrix.dgraph-version }}
Expand All @@ -52,103 +52,33 @@ jobs:
matrix: |
{
"include": [
{
"spark-version": "3.2.0",
"spark-compat-version": "3.2",
"scala-compat-version": "2.13",
"scala-version": "2.13.5",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.2.1",
"spark-compat-version": "3.2",
"scala-compat-version": "2.13",
"scala-version": "2.13.5",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.2.2",
"spark-compat-version": "3.2",
"scala-compat-version": "2.13",
"scala-version": "2.13.5",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.2.3",
"spark-compat-version": "3.2",
"scala-compat-version": "2.13",
"scala-version": "2.13.5",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.2.4",
"spark-compat-version": "3.2",
"scala-compat-version": "2.13",
"scala-version": "2.13.5",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.3.0",
"spark-compat-version": "3.3",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.3.1",
"spark-compat-version": "3.3",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.3.2",
"spark-compat-version": "3.3",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.3.3",
"spark-compat-version": "3.3",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
"dgraph-version": "23.1.1"
},
{
"spark-version": "3.3.4",
"spark-compat-version": "3.3",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.4.0",
"spark-compat-version": "3.4",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
},
{
"spark-version": "3.4.1",
"spark-compat-version": "3.4",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
"dgraph-version": "23.1.1"
},
{
"spark-version": "3.4.2",
"spark-version": "3.4.3",
"spark-compat-version": "3.4",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
"dgraph-version": "23.1.1"
},
{
"spark-version": "3.5.0",
"spark-version": "3.5.1",
"spark-compat-version": "3.5",
"scala-compat-version": "2.13",
"scala-version": "2.13.8",
"dgraph-version": "22.0.2"
"dgraph-version": "23.1.1"
}
]
}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-dgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ jobs:
"21.03.0", "21.03.1", "21.03.2", "21.12.0",
"22.0.0", "22.0.1", "22.0.2",
"23.0.0", "23.0.1",
"23.1.0"
"23.1.0", "23.1.1",
"24.0.0"
]
scala-compat-version: ["2.12"]
include:
- spark-compat-version: '3.5'
spark-version: '3.5.0'
spark-version: '3.5.1'
scala-compat-version: '2.12'
scala-version: '2.12.18'

Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
spark-compat-version: ["3.2", "3.3", "3.4", "3.5"]
dgraph-minor-version: ["20.03", "20.07", "20.11", "21.12", "22.0", "23.0", "23.1"]
dgraph-minor-version: ["20.03", "20.07", "20.11", "21.12", "22.0", "23.0", "23.1", "24.0"]
scala-compat-version: ["2.12"]
include:
- spark-compat-version: '3.0'
Expand Down Expand Up @@ -42,12 +42,12 @@ jobs:
scala-version: '2.12.15'
hadoop-version: '3'
- spark-compat-version: '3.4'
spark-version: '3.4.2'
spark-version: '3.4.3'
scala-compat-version: '2.12'
scala-version: '2.12.17'
hadoop-version: '3'
- spark-compat-version: '3.5'
spark-version: '3.5.0'
spark-version: '3.5.1'
scala-compat-version: '2.12'
scala-version: '2.12.17'
hadoop-version: '3'
Expand All @@ -65,7 +65,9 @@ jobs:
- dgraph-minor-version: "23.0"
dgraph-version: "23.0.1"
- dgraph-minor-version: "23.1"
dgraph-version: "23.1.0"
dgraph-version: "23.1.1"
- dgraph-minor-version: "24.0"
dgraph-version: "24.0.0"

steps:
- name: Checkout
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
matrix:
spark-compat-version: ["3.5"]
scala-compat-version: ["2.12"]
dgraph-minor-version: ["21.12", "22.0", "23.0", "23.1"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.3"]
dgraph-minor-version: ["21.12", "22.0", "23.0", "23.1", "24.0"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- spark-compat-version: '3.5'
spark-version: '3.5.0'
spark-version: '3.5.1'
scala-compat-version: '2.12'
scala-version: '2.12.18'

Expand All @@ -28,7 +28,9 @@ jobs:
- dgraph-minor-version: "23.0"
dgraph-version: "23.0.1"
- dgraph-minor-version: "23.1"
dgraph-version: "23.1.0"
dgraph-version: "23.1.1"
- dgraph-minor-version: "24.0"
dgraph-version: "24.0.0"

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<scala.version>${scala.compat.version}.18</scala.version>
<!-- spark.compat.version must be reflected in project version -->
<spark.compat.version>3.5</spark.compat.version>
<spark.version>${spark.compat.version}.0</spark.version>
<spark.version>${spark.compat.version}.1</spark.version>
<graphframes.version>0.8.3-spark3.5</graphframes.version>
</properties>

Expand Down

0 comments on commit 9a86cc7

Please sign in to comment.