Skip to content

Commit ed90237

Browse files
committed
Merge remote-tracking branch 'upstream/main' into temp_decryption_buffers
2 parents 91477fb + 066b216 commit ed90237

File tree

445 files changed

+9399
-3083
lines changed

Some content is hidden

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

445 files changed

+9399
-3083
lines changed

.env

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ ULIMIT_CORE=-1
4747

4848
# Default versions for platforms
4949
ALMALINUX=8
50-
ALPINE_LINUX=3.18
50+
ALPINE_LINUX=3.22
5151
DEBIAN=12
52-
FEDORA=39
52+
FEDORA=42
5353
UBUNTU=22.04
5454

5555
# Default versions for various dependencies
@@ -67,6 +67,7 @@ LLVM=18
6767
MAVEN=3.8.7
6868
NODE=20
6969
NUMBA=latest
70+
NUMBA_CUDA=latest
7071
NUMPY=latest
7172
PANDAS=latest
7273
PYTHON=3.9

.github/workflows/archery.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
timeout-minutes: 15
5959
steps:
6060
- name: Checkout Arrow
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v5
6262
with:
6363
fetch-depth: 0
6464
- name: Git Fixup

.github/workflows/comment_bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
pull-requests: write
3737
steps:
3838
- name: Checkout Arrow
39-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
with:
4141
path: arrow
4242
# fetch the tags for version number generation
@@ -49,7 +49,7 @@ jobs:
4949
run: pip install -e arrow/dev/archery[bot]
5050
- name: Handle GitHub comment event
5151
env:
52-
ARROW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }}
5454
run: |
5555
archery --debug trigger-bot \

.github/workflows/cpp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
UBUNTU: ${{ matrix.ubuntu }}
111111
steps:
112112
- name: Checkout Arrow
113-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
113+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
114114
with:
115115
fetch-depth: 0
116116
submodules: recursive
@@ -163,7 +163,7 @@ jobs:
163163
timeout-minutes: 45
164164
steps:
165165
- name: Checkout Arrow
166-
uses: actions/checkout@v4
166+
uses: actions/checkout@v5
167167
with:
168168
fetch-depth: 0
169169
submodules: recursive
@@ -218,7 +218,7 @@ jobs:
218218
sysctl -a | grep cpu
219219
sysctl -a | grep "hw.optional"
220220
- name: Checkout Arrow
221-
uses: actions/checkout@v4
221+
uses: actions/checkout@v5
222222
with:
223223
fetch-depth: 0
224224
submodules: recursive
@@ -334,7 +334,7 @@ jobs:
334334
/d 1 `
335335
/f
336336
- name: Checkout Arrow
337-
uses: actions/checkout@v4
337+
uses: actions/checkout@v5
338338
with:
339339
fetch-depth: 0
340340
submodules: recursive
@@ -431,7 +431,7 @@ jobs:
431431
/d 1 `
432432
/f
433433
- name: Checkout Arrow
434-
uses: actions/checkout@v4
434+
uses: actions/checkout@v5
435435
with:
436436
fetch-depth: 0
437437
submodules: recursive

.github/workflows/cpp_extra.yml

Lines changed: 114 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181
outputs:
8282
ci-extra: ${{ steps.check.outputs.ci-extra }}
8383
steps:
84+
- name: Checkout Arrow
85+
if: github.event_name == 'pull_request'
86+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8487
- name: Check
8588
id: check
8689
env:
@@ -99,7 +102,15 @@ jobs:
99102
if [ "${n_ci_extra_labels}" -eq 1 ]; then
100103
ci_extra=true
101104
else
102-
ci_extra=false
105+
git fetch origin ${GITHUB_BASE_REF}
106+
if git diff --stat origin/${GITHUB_BASE_REF}.. | \
107+
grep \
108+
--fixed-strings ".github/workflows/cpp_extra.yml" \
109+
--quiet; then
110+
ci_extra=true
111+
else
112+
ci_extra=false
113+
fi
103114
fi
104115
;;
105116
esac
@@ -124,13 +135,22 @@ jobs:
124135
-e ARROW_USE_MESON=ON
125136
runs-on: ubuntu-latest
126137
title: AMD64 Ubuntu Meson
138+
# TODO: We should remove this "continue-on-error: true" once GH-47207 is resolved
139+
- continue-on-error: true
140+
envs:
141+
- DEBIAN=13
142+
image: debian-cpp
143+
run-options: >-
144+
-e CMAKE_CXX_STANDARD=23
145+
runs-on: ubuntu-latest
146+
title: AMD64 Debian C++23
127147
env:
128148
ARCHERY_DEBUG: 1
129149
ARROW_ENABLE_TIMING_TESTS: OFF
130150
DOCKER_VOLUME_PREFIX: ".docker/"
131151
steps:
132152
- name: Checkout Arrow
133-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
153+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
134154
with:
135155
fetch-depth: 0
136156
submodules: recursive
@@ -147,13 +167,20 @@ jobs:
147167
- name: Setup Archery
148168
run: python3 -m pip install -e dev/archery[docker]
149169
- name: Execute Docker Build
170+
continue-on-error: ${{ matrix.continue-on-error || false }}
150171
env:
151172
ARCHERY_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
152173
ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
174+
ENVS: ${{ toJSON(matrix.envs) }}
153175
run: |
154176
# GH-40558: reduce ASLR to avoid ASAN/LSAN crashes
155177
sudo sysctl -w vm.mmap_rnd_bits=28
156178
source ci/scripts/util_enable_core_dumps.sh
179+
if [ "${ENVS}" != "null" ]; then
180+
echo "${ENVS}" | jq -r '.[]' | while read env; do
181+
echo "${env}" >> .env
182+
done
183+
fi
157184
archery docker run ${{ matrix.run-options || '' }} ${{ matrix.image }}
158185
- name: Docker Push
159186
if: >-
@@ -166,3 +193,88 @@ jobs:
166193
ARCHERY_DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
167194
continue-on-error: true
168195
run: archery docker push ${{ matrix.image }}
196+
197+
jni-macos:
198+
needs: check-labels
199+
name: JNI macOS
200+
runs-on: macos-14
201+
if: needs.check-labels.outputs.ci-extra == 'true'
202+
timeout-minutes: 45
203+
env:
204+
MACOSX_DEPLOYMENT_TARGET: "14.0"
205+
steps:
206+
- name: Checkout Arrow
207+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
208+
with:
209+
fetch-depth: 0
210+
submodules: recursive
211+
- name: Install dependencies
212+
run: |
213+
brew bundle --file=cpp/Brewfile
214+
# We want to link aws-sdk-cpp statically but Homebrew's
215+
# aws-sdk-cpp provides only shared library. If we have
216+
# Homebrew's aws-sdk-cpp, our build mix Homebrew's
217+
# aws-sdk-cpp and bundled aws-sdk-cpp. We uninstall Homebrew's
218+
# aws-sdk-cpp to ensure using only bundled aws-sdk-cpp.
219+
brew uninstall aws-sdk-cpp
220+
# We want to use bundled RE2 for static linking. If
221+
# Homebrew's RE2 is installed, its header file may be used.
222+
# We uninstall Homebrew's RE2 to ensure using bundled RE2.
223+
brew uninstall grpc || : # gRPC depends on RE2
224+
brew uninstall [email protected] || : # gRPC 1.54 may be installed too
225+
brew uninstall re2
226+
# We want to use bundled Protobuf for static linking. If
227+
# Homebrew's Protobuf is installed, its library file may be
228+
# used on test We uninstall Homebrew's Protobuf to ensure using
229+
# bundled Protobuf.
230+
brew uninstall protobuf
231+
- name: Prepare ccache
232+
run: |
233+
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
234+
- name: Cache ccache
235+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
236+
with:
237+
path: ccache
238+
key: jni-macos-${{ hashFiles('cpp/**') }}
239+
restore-keys: jni-macos-
240+
- name: CMake
241+
run: |
242+
cmake \
243+
-S cpp \
244+
-B cpp.build \
245+
--preset=ninja-release-jni-macos \
246+
-DARROW_BUILD_TESTS=ON \
247+
-DCMAKE_INSTALL_PREFIX=$PWD/cpp.install
248+
- name: Build
249+
run: |
250+
cmake --build cpp.build
251+
- name: Install
252+
run: |
253+
cmake --install cpp.build
254+
- name: Test
255+
env:
256+
ARROW_TEST_DATA: ${{ github.workspace }}/testing/data
257+
PARQUET_TEST_DATA: ${{ github.workspace }}/cpp/submodules/parquet-testing/data
258+
run: |
259+
# MinIO is required
260+
exclude_tests="arrow-s3fs-test"
261+
# unstable
262+
exclude_tests="${exclude_tests}|arrow-acero-asof-join-node-test"
263+
exclude_tests="${exclude_tests}|arrow-acero-hash-join-node-test"
264+
ctest \
265+
--exclude-regex "${exclude_tests}" \
266+
--label-regex unittest \
267+
--output-on-failure \
268+
--parallel "$(sysctl -n hw.ncpu)" \
269+
--test-dir "cpp.build" \
270+
--timeout 300
271+
- name: Build example
272+
run: |
273+
cmake \
274+
-S cpp/examples/minimal_build/ \
275+
-B cpp/examples/minimal_build.build \
276+
-GNinja \
277+
-DCMAKE_INSTALL_PREFIX=$PWD/cpp.install
278+
cmake --build cpp/examples/minimal_build.build
279+
cd cpp/examples/minimal_build
280+
../minimal_build.build/arrow-example

.github/workflows/csharp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
python-version: 3
6464
- name: Checkout Arrow
65-
uses: actions/checkout@v4
65+
uses: actions/checkout@v5
6666
with:
6767
fetch-depth: 0
6868
- name: Build
@@ -87,7 +87,7 @@ jobs:
8787
with:
8888
dotnet-version: ${{ matrix.dotnet }}
8989
- name: Checkout Arrow
90-
uses: actions/checkout@v4
90+
uses: actions/checkout@v5
9191
with:
9292
fetch-depth: 0
9393
- name: Build
@@ -116,7 +116,7 @@ jobs:
116116
with:
117117
python-version: 3.12
118118
- name: Checkout Arrow
119-
uses: actions/checkout@v4
119+
uses: actions/checkout@v5
120120
with:
121121
fetch-depth: 0
122122
- name: Build
@@ -137,7 +137,7 @@ jobs:
137137
steps:
138138
- name: Checkout for utilities
139139
if: github.ref_type == 'tag'
140-
uses: actions/checkout@v4
140+
uses: actions/checkout@v5
141141
with:
142142
path: arrow
143143
- name: Download source archive
@@ -155,7 +155,7 @@ jobs:
155155
GH_TOKEN: ${{ github.token }}
156156
- name: Checkout
157157
if: github.ref_type != 'tag'
158-
uses: actions/checkout@v4
158+
uses: actions/checkout@v5
159159
with:
160160
fetch-depth: 0
161161
- name: Prepare version

.github/workflows/dev.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
timeout-minutes: 15
4848
steps:
4949
- name: Checkout Arrow
50-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
50+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5151
with:
5252
fetch-depth: 0
5353
- name: Install pre-commit
@@ -86,7 +86,7 @@ jobs:
8686
GIT_COMMITTER_EMAIL: "github-actions[bot]@users.noreply.github.com"
8787
steps:
8888
- name: Checkout Arrow
89-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
89+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9090
with:
9191
fetch-depth: 0
9292
- name: Install Python
@@ -107,10 +107,9 @@ jobs:
107107
gem install test-unit
108108
pip install "cython>=3" setuptools pytest requests setuptools-scm
109109
- name: Run Release Test
110-
env:
111-
ARROW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112110
shell: bash
113111
run: |
112+
echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" > dev/release/.env
114113
ci/scripts/release_test.sh $(pwd)
115114
- name: Run Merge Script Test
116115
shell: bash

.github/workflows/dev_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
name: Process
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
46+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4747
with:
4848
repository: apache/arrow
4949
ref: main

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
JDK: 17
4040
steps:
4141
- name: Checkout Arrow
42-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
42+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4343
with:
4444
fetch-depth: 0
4545
- name: Free up disk space

.github/workflows/docs_light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
PYTHON: "3.9"
5050
steps:
5151
- name: Checkout Arrow
52-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
52+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5353
with:
5454
fetch-depth: 0
5555
- name: Cache Docker Volumes

0 commit comments

Comments
 (0)