Skip to content

Commit 0137a86

Browse files
committed
Merge branch 'main' of https://github.com/apache/sedona-db into gpu
2 parents 8a178f9 + 6c86216 commit 0137a86

File tree

140 files changed

+7615
-1009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+7615
-1009
lines changed

.github/dependabot.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
version: 2
19+
updates:
20+
# Maintain dependencies for GitHub Actions
21+
- package-ecosystem: "github-actions"
22+
directory: "/"
23+
schedule:
24+
interval: "weekly"
25+
day: "sunday"
26+
27+
- package-ecosystem: "cargo"
28+
directory: "/"
29+
schedule:
30+
interval: "weekly"
31+
day: "sunday"
32+
open-pull-requests-limit: 50
33+
ignore:
34+
# For all packages, ignore all patch updates
35+
- dependency-name: "*"
36+
update-types: ["version-update:semver-patch"]
37+
groups:
38+
arrow-parquet:
39+
applies-to: version-updates
40+
patterns:
41+
- "arrow*"
42+
- "parquet"
43+
datafusion:
44+
applies-to: version-updates
45+
patterns:
46+
- "datafusion*"
47+
wasm-bindgen:
48+
applies-to: version-updates
49+
patterns:
50+
- "wasm-bindgen*"
51+
- "web-sys"
52+
savvy:
53+
applies-to: version-updates
54+
patterns:
55+
- "savvy*"

.github/workflows/dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
pre-commit:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3535
with:
3636
fetch-depth: 0
3737
persist-credentials: false
38-
- uses: actions/setup-python@v5
38+
- uses: actions/setup-python@v6
3939
with:
4040
python-version: '3.x'
4141
- name: Install pinned Rust toolchain

.github/workflows/examples.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
name: examples
18+
19+
on:
20+
pull_request:
21+
branches:
22+
- main
23+
paths:
24+
- 'Cargo.toml'
25+
- 'Cargo.lock'
26+
- '.github/workflows/rust.yml'
27+
- 'rust/**'
28+
- 'c/**'
29+
- 'examples/**'
30+
push:
31+
branches:
32+
- main
33+
34+
concurrency:
35+
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}-rust
36+
cancel-in-progress: true
37+
38+
permissions:
39+
contents: read
40+
41+
defaults:
42+
run:
43+
shell: bash -l -eo pipefail {0}
44+
45+
env:
46+
# At GEOS updated to 3.14.0
47+
VCPKG_REF: 5a01de756c28279ddfdd2b061d1c75710a6255fa
48+
49+
jobs:
50+
rust:
51+
strategy:
52+
fail-fast: false
53+
54+
runs-on: ubuntu-latest
55+
env:
56+
CARGO_INCREMENTAL: 0
57+
58+
steps:
59+
- uses: actions/checkout@v6
60+
- name: Use stable Rust
61+
id: rust
62+
run: |
63+
rustup toolchain install stable --no-self-update
64+
rustup default stable
65+
66+
- uses: Swatinem/rust-cache@v2
67+
with:
68+
# Update this key to force a new cache
69+
prefix-key: "rust-${{ matrix.name }}-v4"
70+
71+
- name: Install dependencies
72+
shell: bash
73+
run: |
74+
sudo apt-get update && sudo apt-get install -y libgeos-dev
75+
76+
- name: Build and run examples/sedonadb-rust
77+
shell: bash
78+
run: |
79+
rm -rf Cargo.toml
80+
cd examples/sedonadb-rust
81+
cargo run

.github/workflows/packaging.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
source:
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v6
4343
with:
4444
fetch-depth: 0
4545
submodules: 'true'
46-
- uses: actions/setup-python@v5
46+
- uses: actions/setup-python@v6
4747
with:
4848
python-version: "3.13"
4949

@@ -75,7 +75,7 @@ jobs:
7575
run: |
7676
dev/release/run-rat.sh apache-sedona-db-${{ env.VERSION }}.tar.gz
7777
78-
- uses: actions/upload-artifact@v4
78+
- uses: actions/upload-artifact@v5
7979
with:
8080
name: source
8181
retention-days: 7
@@ -90,11 +90,11 @@ jobs:
9090
contents: write
9191

9292
steps:
93-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v6
9494
with:
9595
fetch-depth: 0
9696

97-
- uses: actions/setup-python@v5
97+
- uses: actions/setup-python@v6
9898
with:
9999
python-version: "3.x"
100100

@@ -131,7 +131,7 @@ jobs:
131131
tar -czf docs.tgz sedona-db-docs
132132
133133
- name: Upload docs
134-
uses: actions/upload-artifact@v4
134+
uses: actions/upload-artifact@v5
135135
with:
136136
name: docs
137137
retention-days: 2
@@ -163,7 +163,7 @@ jobs:
163163

164164
steps:
165165
- name: Get all artifacts
166-
uses: actions/download-artifact@v4
166+
uses: actions/download-artifact@v6
167167
with:
168168
path: release-artifacts
169169

.github/workflows/python-wheels.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545
runs-on: windows-2022
4646

4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949
with:
5050
submodules: 'true'
5151
fetch-depth: 0
5252

53-
- uses: actions/setup-python@v5
53+
- uses: actions/setup-python@v6
5454
with:
5555
python-version: "3.13"
5656

@@ -63,7 +63,7 @@ jobs:
6363
prefix-key: "python-wheel-windows-latest-v2"
6464

6565
- name: Clone vcpkg
66-
uses: actions/checkout@v4
66+
uses: actions/checkout@v6
6767
with:
6868
repository: microsoft/vcpkg
6969
ref: ${{ env.VCPKG_REF }}
@@ -93,7 +93,7 @@ jobs:
9393
CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas
9494
CIBW_TEST_COMMAND: pytest {package}/tests -vv
9595

96-
- uses: actions/upload-artifact@v4
96+
- uses: actions/upload-artifact@v5
9797
with:
9898
name: release-wheels-windows-x86_64
9999
path: python/sedonadb/dist/*.whl
@@ -102,12 +102,12 @@ jobs:
102102
runs-on: macOS-latest
103103

104104
steps:
105-
- uses: actions/checkout@v4
105+
- uses: actions/checkout@v6
106106
with:
107107
submodules: 'true'
108108
fetch-depth: 0
109109

110-
- uses: actions/setup-python@v5
110+
- uses: actions/setup-python@v6
111111
with:
112112
python-version: "3.13"
113113

@@ -120,7 +120,7 @@ jobs:
120120
prefix-key: "python-wheel-macOS-latest-v2"
121121

122122
- name: Clone vcpkg
123-
uses: actions/checkout@v4
123+
uses: actions/checkout@v6
124124
with:
125125
repository: microsoft/vcpkg
126126
ref: ${{ env.VCPKG_REF }}
@@ -147,7 +147,7 @@ jobs:
147147
CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb
148148
CIBW_TEST_COMMAND: pytest {package}/tests -vv
149149

150-
- uses: actions/upload-artifact@v4
150+
- uses: actions/upload-artifact@v5
151151
with:
152152
name: release-wheels-macOS-arm64
153153
path: python/sedonadb/dist/*.whl
@@ -162,12 +162,12 @@ jobs:
162162
- {os: "ubuntu-24.04-arm", label: "linux-arm64", arch: "aarch64"}
163163

164164
steps:
165-
- uses: actions/checkout@v4
165+
- uses: actions/checkout@v6
166166
with:
167167
submodules: 'true'
168168
fetch-depth: 0
169169

170-
- uses: actions/setup-python@v5
170+
- uses: actions/setup-python@v6
171171
with:
172172
python-version: "3.13"
173173

@@ -195,7 +195,7 @@ jobs:
195195
CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb
196196
CIBW_TEST_COMMAND: pytest {package}/tests -vv
197197

198-
- uses: actions/upload-artifact@v4
198+
- uses: actions/upload-artifact@v5
199199
with:
200200
name: release-wheels-${{ matrix.config.label }}
201201
path: python/sedonadb/dist/*.whl
@@ -205,7 +205,7 @@ jobs:
205205
name: Upload nightly packages
206206
runs-on: "macos-latest"
207207
steps:
208-
- uses: actions/download-artifact@v4
208+
- uses: actions/download-artifact@v6
209209
with:
210210
pattern: release-*
211211
merge-multiple: true

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ jobs:
5757
env:
5858
CARGO_INCREMENTAL: 0
5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
6161
with:
6262
submodules: 'true'
6363

64-
- uses: actions/setup-python@v4
64+
- uses: actions/setup-python@v6
6565
with:
6666
python-version: '3.13'
6767
cache: 'pip'
6868

6969
- name: Clone vcpkg
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171
with:
7272
repository: microsoft/vcpkg
7373
ref: ${{ env.VCPKG_REF }}

.github/workflows/r-extended.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
R_KEEP_PKG_SOURCE: yes
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050
- uses: r-lib/actions/setup-pandoc@v2
5151
- uses: r-lib/actions/setup-r@v2
5252
with:

.github/workflows/r.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
R_KEEP_PKG_SOURCE: yes
5454

5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v6
5757
- uses: r-lib/actions/setup-r@v2
5858
with:
5959
r-version: ${{ matrix.config.r }}
@@ -103,6 +103,7 @@ jobs:
103103
with:
104104
needs: check
105105
working-directory: r/sedonadb
106+
cache: false
106107

107108
- name: Install R Package
108109
run: |

.github/workflows/rust.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
name: ["clippy", "docs", "test", "build"]
53+
name: ["clippy", "docs", "test", "build", "fmt"]
5454

5555
name: "${{ matrix.name }}"
5656
runs-on: ubuntu-latest
@@ -62,12 +62,12 @@ jobs:
6262
# Limit parallel compilation to reduce memory pressure
6363
CARGO_BUILD_JOBS: 2
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v6
6666
with:
6767
submodules: 'true'
6868

6969
- name: Clone vcpkg
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171
with:
7272
repository: microsoft/vcpkg
7373
ref: ${{ env.VCPKG_REF }}
@@ -173,3 +173,7 @@ jobs:
173173
run: |
174174
# Generate docs with reduced parallelism to avoid memory issues
175175
cargo doc --workspace --all-features -j 2
176+
177+
- name: Format
178+
if: matrix.name == 'fmt'
179+
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)