Skip to content

Commit 7be558d

Browse files
committed
Merge branch 'main' into feature/implement-project-node-for-insert-into-datafusion
2 parents 803199a + aad9e2e commit 7be558d

Some content is hidden

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

89 files changed

+6555
-2760
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
security_audit:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444
- name: Setup Rust toolchain
4545
uses: ./.github/actions/setup-builder
4646
with:

.github/workflows/bindings_python_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
check-rust:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v5
3737
- name: Check format
3838
working-directory: "bindings/python"
3939
run: cargo fmt --all -- --check
@@ -44,7 +44,7 @@ jobs:
4444
check-python:
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
- name: Install tools
4949
run: |
5050
pip install ruff
@@ -66,8 +66,8 @@ jobs:
6666
- macos-latest
6767
- windows-latest
6868
steps:
69-
- uses: actions/checkout@v4
70-
- uses: actions/setup-python@v5
69+
- uses: actions/checkout@v5
70+
- uses: actions/setup-python@v6
7171
with:
7272
python-version: 3.9
7373
- uses: PyO3/maturin-action@v1

.github/workflows/ci.yml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030
cancel-in-progress: true
3131

3232
env:
33-
rust_msrv: "1.85.0"
33+
rust_msrv: "1.87"
3434

3535
jobs:
3636
check:
@@ -41,21 +41,22 @@ jobs:
4141
- ubuntu-latest
4242
- macos-latest
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545

4646
- name: Setup Rust toolchain
4747
uses: ./.github/actions/setup-builder
4848

4949
- name: Check License Header
5050
uses: apache/skywalking-eyes/[email protected]
5151

52-
- name: Install taplo-cli
53-
uses: taiki-e/install-action@v2
54-
with:
55-
5652
- name: Check toml format
5753
run: make check-toml
5854

55+
- name: Install protoc
56+
uses: arduino/setup-protoc@v3
57+
with:
58+
repo-token: ${{ secrets.GITHUB_TOKEN }}
59+
5960
- name: Cargo format
6061
run: make check-fmt
6162

@@ -65,12 +66,8 @@ jobs:
6566
- name: Cargo clippy
6667
run: make check-clippy
6768

68-
- name: Install cargo-machete
69-
uses: taiki-e/install-action@v2
70-
with:
71-
tool: cargo-machete
7269
- name: Cargo Machete
73-
run: cargo machete
70+
run: make cargo-machete
7471

7572
build:
7673
runs-on: ${{ matrix.os }}
@@ -81,14 +78,19 @@ jobs:
8178
- macos-latest
8279
- windows-latest
8380
steps:
84-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@v5
8582

8683
- name: Setup Rust toolchain
8784
uses: ./.github/actions/setup-builder
8885

8986
- name: Cache Rust artifacts
9087
uses: Swatinem/rust-cache@v2
9188

89+
- name: Install protoc
90+
uses: arduino/setup-protoc@v3
91+
with:
92+
repo-token: ${{ secrets.GITHUB_TOKEN }}
93+
9294
- name: Build
9395
run: make build
9496

@@ -101,7 +103,7 @@ jobs:
101103
- macos-latest
102104
- windows-latest
103105
steps:
104-
- uses: actions/checkout@v4
106+
- uses: actions/checkout@v5
105107

106108
- name: Setup Rust toolchain
107109
uses: ./.github/actions/setup-builder
@@ -126,19 +128,24 @@ jobs:
126128
root-reserve-mb: 10240
127129
temp-reserve-mb: 10240
128130

129-
- uses: actions/checkout@v4
131+
- uses: actions/checkout@v5
130132

131133
- name: Setup Rust toolchain
132134
uses: ./.github/actions/setup-builder
133135

136+
- name: Install protoc
137+
uses: arduino/setup-protoc@v3
138+
with:
139+
repo-token: ${{ secrets.GITHUB_TOKEN }}
140+
134141
- name: Cache Rust artifacts
135142
uses: Swatinem/rust-cache@v2
136143

137144
- name: Test
138145
run: cargo test --no-fail-fast --all-targets --all-features --workspace
139146

140-
- name: Async-std Test
141-
run: cargo test --no-fail-fast --all-targets --no-default-features --features "async-std" --features "storage-all" --workspace
147+
- name: Smol Test
148+
run: cargo test --no-fail-fast --all-targets --no-default-features --features "smol" --features "storage-all" --workspace
142149

143150
- name: Doc Test
144151
run: cargo test --no-fail-fast --doc --all-features --workspace
@@ -147,12 +154,16 @@ jobs:
147154
name: Verify MSRV
148155
runs-on: ubuntu-latest
149156
steps:
150-
- uses: actions/checkout@v4
157+
- uses: actions/checkout@v5
151158
- name: Setup Nightly Rust toolchain
152159
uses: ./.github/actions/setup-builder
160+
- name: Install protoc
161+
uses: arduino/setup-protoc@v3
162+
with:
163+
repo-token: ${{ secrets.GITHUB_TOKEN }}
153164
- name: Generate minimal versions lockfile
154165
run: |
155-
cargo generate-lockfile -Z direct-minimal-versions -Z minimal-versions
166+
cargo generate-lockfile -Z direct-minimal-versions
156167
- name: Setup MSRV Rust toolchain
157168
uses: ./.github/actions/setup-builder
158169
with:

.github/workflows/ci_typos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
env:
4141
FORCE_COLOR: 1
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444
- name: Check typos
45-
uses: crate-ci/typos@v1.35.3
45+
uses: crate-ci/typos@v1.36.2

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
workflow_dispatch:
2828

2929
env:
30-
rust_msrv: "1.85"
30+
rust_msrv: "1.87"
3131

3232
jobs:
3333
publish:
@@ -45,7 +45,7 @@ jobs:
4545
- "crates/catalog/sql"
4646
- "crates/integrations/datafusion"
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v5
4949

5050
- name: Setup Rust toolchain
5151
uses: ./.github/actions/setup-builder

.github/workflows/release_python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
workflow_dispatch:
2626

2727
env:
28-
rust_msrv: "1.85"
28+
rust_msrv: "1.87"
2929

3030
concurrency:
3131
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}-${{ github.event_name }}
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
needs: [validate-release-tag]
8787
steps:
88-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v5
8989

9090
- name: Install toml-cli
9191
if: ${{ needs.validate-release-tag.outputs.is-rc == 'true' }}
@@ -128,7 +128,7 @@ jobs:
128128
}
129129
- { os: ubuntu-latest, target: "armv7l" }
130130
steps:
131-
- uses: actions/checkout@v4
131+
- uses: actions/checkout@v5
132132

133133
- name: Install toml-cli
134134
if: ${{ needs.validate-release-tag.outputs.is-rc == 'true' }}
@@ -144,7 +144,7 @@ jobs:
144144
rm Cargo.toml
145145
mv Cargo.toml.tmp Cargo.toml
146146
147-
- uses: actions/setup-python@v5
147+
- uses: actions/setup-python@v6
148148
with:
149149
python-version: 3.9
150150
- name: Setup Rust toolchain

.github/workflows/release_python_nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
workflow_dispatch: # Allows manual triggering
2424

2525
env:
26-
rust_msrv: "1.85"
26+
rust_msrv: "1.87"
2727

2828
permissions:
2929
contents: read
@@ -43,7 +43,7 @@ jobs:
4343
if: github.repository == 'apache/iceberg-rust' # Only run for apache repo
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@v5
4747

4848
- uses: ./.github/actions/overwrite-package-version # Overwrite package version with timestamp
4949
with:
@@ -78,13 +78,13 @@ jobs:
7878
}
7979
- { os: ubuntu-latest, target: "armv7l" }
8080
steps:
81-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@v5
8282

8383
- uses: ./.github/actions/overwrite-package-version # Overwrite package version with timestamp
8484
with:
8585
timestamp: ${{ needs.set-version.outputs.TIMESTAMP }}
8686

87-
- uses: actions/setup-python@v5
87+
- uses: actions/setup-python@v6
8888
with:
8989
python-version: 3.9
9090

.github/workflows/stale.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: "Close Stale Issues"
21+
on:
22+
schedule:
23+
- cron: '0 0 * * *'
24+
25+
permissions:
26+
# All other permissions are set to none
27+
issues: write
28+
29+
jobs:
30+
stale:
31+
if: github.repository_owner == 'apache'
32+
runs-on: ubuntu-22.04
33+
steps:
34+
- uses: actions/[email protected]
35+
with:
36+
stale-issue-label: 'stale'
37+
exempt-issue-labels: 'not-stale'
38+
days-before-issue-stale: 180
39+
days-before-issue-close: 14
40+
# Only close stale issues, leave PRs alone
41+
days-before-pr-stale: -1
42+
stale-issue-message: >
43+
This issue has been automatically marked as stale because it has been open for 180 days
44+
with no activity. It will be closed in next 14 days if no further activity occurs. To
45+
permanently prevent this issue from being considered stale, add the label 'not-stale',
46+
but commenting on the issue is preferred when possible.
47+
close-issue-message: >
48+
This issue has been closed because it has not received any activity in the last 14 days
49+
since being marked as 'stale'

.github/workflows/website.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ jobs:
3535
permissions:
3636
contents: write
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v5
3939

4040
- name: Setup mdBook
4141
uses: peaceiris/actions-mdbook@v2
4242
with:
43-
mdbook-version: '0.4.36'
43+
mdbook-version: "0.4.36"
44+
45+
- name: Install protoc
46+
uses: arduino/setup-protoc@v3
47+
with:
48+
repo-token: ${{ secrets.GITHUB_TOKEN }}
4449

4550
- name: Build
4651
working-directory: website

0 commit comments

Comments
 (0)