Skip to content

Commit 5832449

Browse files
committed
Merge remote-tracking branch 'origin/main' into arrow-avro
# Conflicts: # Cargo.lock # Cargo.toml # datafusion/datasource-avro/src/avro_to_arrow/arrow_array_reader.rs # datafusion/datasource-avro/src/avro_to_arrow/schema.rs # datafusion/datasource-avro/src/source.rs
2 parents d647ec6 + 899a762 commit 5832449

File tree

995 files changed

+39163
-14487
lines changed

Some content is hidden

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

995 files changed

+39163
-14487
lines changed

.github/actions/setup-builder/action.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,17 @@ runs:
4646
# https://github.com/actions/checkout/issues/766
4747
shell: bash
4848
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
49+
- name: Remove unnecessary preinstalled software
50+
shell: bash
51+
run: |
52+
echo "Disk space before cleanup:"
53+
df -h
54+
apt-get clean
55+
# remove tool cache: about 8.5GB (github has host /opt/hostedtoolcache mounted as /__t)
56+
rm -rf /__t/* || true
57+
# remove Haskell runtime: about 6.3GB (host /usr/local/.ghcup)
58+
rm -rf /host/usr/local/.ghcup || true
59+
# remove Android library: about 7.8GB (host /usr/local/lib/android)
60+
rm -rf /host/usr/local/lib/android || true
61+
echo "Disk space after cleanup:"
62+
df -h

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
security_audit:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
43+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4444
- name: Install cargo-audit
45-
uses: taiki-e/install-action@763e3324d4fd026c9bd284c504378585777a87d5 # v2.62.57
45+
uses: taiki-e/install-action@7646916979096be288829d3d80a5e43636357a04 # v2.62.65
4646
with:
4747
tool: cargo-audit
4848
- name: Run audit check

.github/workflows/dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
container:
4545
image: amd64/rust
4646
steps:
47-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
47+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4848
with:
4949
submodules: true
5050
fetch-depth: 1
@@ -62,7 +62,7 @@ jobs:
6262
container:
6363
image: amd64/rust
6464
steps:
65-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
65+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6666
- name: Install cargo-machete
6767
run: cargo install cargo-machete --version ^0.9 --locked
6868
- name: Detect unused dependencies

.github/workflows/dev.yml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
name: Check License Header
3434
steps:
35-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
35+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3636
- name: Install HawkEye
37+
# This CI job is bound by installation time, use `--profile dev` to speed it up
3738
run: cargo install hawkeye --version 6.2.0 --locked --profile dev
3839
- name: Run license header check
3940
run: ci/scripts/license_header.sh
@@ -42,18 +43,25 @@ jobs:
4243
name: Use prettier to check formatting of documents
4344
runs-on: ubuntu-latest
4445
steps:
45-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
46-
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
46+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
47+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
4748
with:
4849
node-version: "20"
4950
- name: Prettier check
50-
run: |
51-
# if you encounter error, rerun the command below and commit the changes
52-
#
53-
# ignore subproject CHANGELOG.md because they are machine generated
54-
npx prettier@2.7.1 --write \
55-
'{datafusion,datafusion-cli,datafusion-examples,dev,docs}/**/*.md' \
56-
'!datafusion/CHANGELOG.md' \
57-
README.md \
58-
CONTRIBUTING.md
59-
git diff --exit-code
51+
# if you encounter error, see instructions inside the script
52+
run: ci/scripts/doc_prettier_check.sh
53+
54+
typos:
55+
name: Spell Check with Typos
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
59+
with:
60+
persist-credentials: false
61+
# Version fixed on purpose. It uses heuristics to detect typos, so upgrading
62+
# it may cause checks to fail more often.
63+
# We can upgrade it manually once a while.
64+
- name: Install typos-cli
65+
run: cargo install typos-cli --locked --version 1.37.0
66+
- name: Run typos check
67+
run: ci/scripts/typos_check.sh

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout docs sources
35-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
35+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3636

3737
- name: Checkout asf-site branch
38-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
38+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3939
with:
4040
ref: asf-site
4141
path: asf-site

.github/workflows/docs_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
name: Test doc build
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
43+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4444
with:
4545
submodules: true
4646
fetch-depth: 1

.github/workflows/extended.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
# note: do not use amd/rust container to preserve disk space
7171
steps:
72-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
72+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7373
with:
7474
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
7575
submodules: true
@@ -93,7 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
# note: do not use amd/rust container to preserve disk space
9595
steps:
96-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
96+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9797
with:
9898
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
9999
submodules: true
@@ -137,7 +137,7 @@ jobs:
137137
container:
138138
image: amd64/rust
139139
steps:
140-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
140+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
141141
with:
142142
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
143143
submodules: true
@@ -158,7 +158,7 @@ jobs:
158158
container:
159159
image: amd64/rust
160160
steps:
161-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
161+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
162162
with:
163163
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
164164
submodules: true

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
contents: read
4040
pull-requests: write
4141
steps:
42-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
42+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4343

4444
- name: Assign GitHub labels
4545
if: |

.github/workflows/large_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
check-files:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
32+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3333
with:
3434
fetch-depth: 0
3535
- name: Check size of new Git objects

0 commit comments

Comments
 (0)