Skip to content

Commit 9b9ccde

Browse files
Merge branch 'main' into updategrpc
2 parents 5e28bb2 + 7623887 commit 9b9ccde

File tree

622 files changed

+85699
-33769
lines changed

Some content is hidden

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

622 files changed

+85699
-33769
lines changed

.env

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# under the License.
1717

1818
# All of the following environment variables are required to set default values
19-
# for the parameters in docker-compose.yml.
19+
# for the parameters in compose.yaml.
2020

21-
# empty prefix means that the docker-compose configuration will use named
21+
# empty prefix means that the docker compose configuration will use named
2222
# volumes which potentially improves the performance on docker for macos and
2323
# docker for windows, it also prevents the contamination of the source
2424
# directory
@@ -37,6 +37,10 @@ DOCKER_BUILDKIT=1
3737
ARCH=amd64
3838
ARCH_ALIAS=x86_64
3939
ARCH_SHORT=amd64
40+
# For aarch64
41+
# ARCH=arm64v8
42+
# ARCH_ALIAS=aarch64
43+
# ARCH_SHORT=arm64
4044

4145
# Default repository to pull and push images from
4246
REPO=apache/arrow-dev
@@ -89,17 +93,17 @@ ARROW_R_DEV=TRUE
8993
R_PRUNE_DEPS=FALSE
9094
TZ=UTC
9195

92-
# Used through docker-compose.yml and serves as the default version for the
96+
# Used through compose.yaml and serves as the default version for the
9397
# ci/scripts/install_vcpkg.sh script. Prefer to use short SHAs to keep the
9498
# docker tags more readable.
95-
VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release
99+
VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Release
96100

97101
# This must be updated when we update
98102
# ci/docker/python-*-windows-*.dockerfile or the vcpkg config.
99103
# This is a workaround for our CI problem that "archery docker build" doesn't
100104
# use pulled built images in dev/tasks/python-wheels/github.windows.yml.
101-
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2025-09-04
102-
PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2025-09-04
105+
PYTHON_WHEEL_WINDOWS_IMAGE_REVISION=2025-10-13
106+
PYTHON_WHEEL_WINDOWS_TEST_IMAGE_REVISION=2025-10-13
103107

104108
# Use conanio/${CONAN_BASE}:{CONAN_VERSION} for "docker compose run --rm conan".
105109
# See https://github.com/conan-io/conan-docker-tools#readme and

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cpp/src/arrow/util/bpacking_*_generated.h linguist-generated=true
1+
cpp/src/arrow/util/bpacking_*_generated_internal.h linguist-generated=true
22
cpp/src/parquet/chunker_*_generated.h linguist-generated=true
33
cpp/src/generated/*.cpp linguist-generated=true
44
cpp/src/generated/*.h linguist-generated=true

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ appveyor.yml @assignUser @kou @raulcd
6060
/dev/ @assignUser @jonkeane @kou @raulcd
6161
.dockerignore @raulcd
6262
.env @assignUser @jonkeane @kou @raulcd
63-
docker-compose.yml @assignUser @jonkeane @kou @raulcd
63+
compose.yaml @assignUser @jonkeane @kou @raulcd
6464

6565
# R specific packaging tooling
6666
/r/configure* @assignUser

.github/workflows/archery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ on:
2929
- '.github/workflows/archery.yml'
3030
- 'dev/archery/**'
3131
- 'dev/tasks/**'
32-
- 'docker-compose.yml'
32+
- 'compose.yaml'
3333
pull_request:
3434
paths:
3535
- '.dockerignore'
3636
- '.github/workflows/archery.yml'
3737
- 'dev/archery/**'
3838
- 'dev/tasks/**'
39-
- 'docker-compose.yml'
39+
- 'compose.yaml'
4040

4141
env:
4242
ARCHERY_DEBUG: 1

.github/workflows/check_labels.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
name: Check Labels Reusable
19+
20+
on:
21+
workflow_call:
22+
inputs:
23+
parent-workflow:
24+
description: "The parent workflow filename (without .yml)"
25+
required: true
26+
type: string
27+
outputs:
28+
ci-extra-labels:
29+
description: "The extra CI labels"
30+
value: ${{ jobs.check-labels.outputs.ci-extra-labels }}
31+
force:
32+
description: "Whether to force running the jobs"
33+
value: ${{ jobs.check-labels.outputs.force }}
34+
35+
jobs:
36+
check-labels:
37+
name: Check labels
38+
runs-on: ubuntu-latest
39+
timeout-minutes: 5
40+
outputs:
41+
ci-extra-labels: ${{ steps.check.outputs.ci-extra-labels }}
42+
force: ${{ steps.check.outputs.force }}
43+
steps:
44+
- name: Checkout Arrow
45+
if: github.event_name == 'pull_request'
46+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
47+
- name: Check
48+
id: check
49+
env:
50+
GH_TOKEN: ${{ github.token }}
51+
run: |
52+
set -ex
53+
case "${GITHUB_EVENT_NAME}" in
54+
push|schedule|workflow_dispatch)
55+
echo "force=true" >> "${GITHUB_OUTPUT}"
56+
;;
57+
pull_request)
58+
{
59+
echo "ci-extra-labels<<LABELS"
60+
gh pr view ${{ github.event.number }} \
61+
--jq '[.labels[].name | select(startswith("CI: Extra"))]' \
62+
--json labels \
63+
--repo ${GITHUB_REPOSITORY}
64+
echo "LABELS"
65+
} >> "${GITHUB_OUTPUT}"
66+
git fetch origin ${GITHUB_BASE_REF}
67+
git diff --stat origin/${GITHUB_BASE_REF}..
68+
if git diff --stat origin/${GITHUB_BASE_REF}.. | \
69+
grep \
70+
--fixed-strings ".github/workflows/${{ inputs.parent-workflow }}.yml" \
71+
--quiet; then
72+
echo "force=true" >> "${GITHUB_OUTPUT}"
73+
fi
74+
;;
75+
esac

.github/workflows/cpp.yml

Lines changed: 8 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
- 'ci/scripts/msys2_*'
3838
- 'ci/scripts/util_*'
3939
- 'cpp/**'
40-
- 'docker-compose.yml'
40+
- 'compose.yaml'
4141
- 'format/Flight.proto'
4242
- 'testing'
4343
pull_request:
@@ -54,7 +54,7 @@ on:
5454
- 'ci/scripts/msys2_*'
5555
- 'ci/scripts/util_*'
5656
- 'cpp/**'
57-
- 'docker-compose.yml'
57+
- 'compose.yaml'
5858
- 'format/Flight.proto'
5959
- 'testing'
6060

@@ -280,100 +280,13 @@ jobs:
280280
ci/scripts/cpp_test.sh $(pwd) $(pwd)/build
281281
282282
windows:
283-
name: ${{ matrix.title }}
284-
runs-on: ${{ matrix.os }}
285283
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
286-
timeout-minutes: 60
287-
strategy:
288-
fail-fast: false
289-
matrix:
290-
os:
291-
- windows-2022
292-
include:
293-
- os: windows-2022
294-
simd-level: AVX2
295-
title: AMD64 Windows 2022 AVX2
296-
env:
297-
ARROW_BOOST_USE_SHARED: OFF
298-
ARROW_BUILD_BENCHMARKS: ON
299-
ARROW_BUILD_SHARED: ON
300-
ARROW_BUILD_STATIC: OFF
301-
ARROW_BUILD_TESTS: ON
302-
ARROW_DATASET: ON
303-
ARROW_FLIGHT: OFF
304-
ARROW_HDFS: ON
305-
ARROW_HOME: /usr
306-
ARROW_JEMALLOC: OFF
307-
ARROW_MIMALLOC: ON
308-
ARROW_ORC: ON
309-
ARROW_PARQUET: ON
310-
ARROW_SIMD_LEVEL: ${{ matrix.simd-level }}
311-
ARROW_SUBSTRAIT: ON
312-
ARROW_USE_GLOG: OFF
313-
ARROW_VERBOSE_THIRDPARTY_BUILD: OFF
314-
ARROW_WITH_BROTLI: OFF
315-
ARROW_WITH_BZ2: OFF
316-
ARROW_WITH_LZ4: OFF
317-
ARROW_WITH_OPENTELEMETRY: OFF
318-
ARROW_WITH_SNAPPY: ON
319-
ARROW_WITH_ZLIB: ON
320-
ARROW_WITH_ZSTD: ON
321-
BOOST_SOURCE: BUNDLED
322-
CMAKE_CXX_STANDARD: "17"
323-
CMAKE_GENERATOR: Ninja
324-
CMAKE_INSTALL_LIBDIR: bin
325-
CMAKE_INSTALL_PREFIX: /usr
326-
CMAKE_UNITY_BUILD: ON
327-
steps:
328-
- name: Disable Crash Dialogs
329-
run: |
330-
reg add `
331-
"HKCU\SOFTWARE\Microsoft\Windows\Windows Error Reporting" `
332-
/v DontShowUI `
333-
/t REG_DWORD `
334-
/d 1 `
335-
/f
336-
- name: Checkout Arrow
337-
uses: actions/checkout@v5
338-
with:
339-
fetch-depth: 0
340-
submodules: recursive
341-
- name: Download Timezone Database
342-
shell: bash
343-
run: ci/scripts/download_tz_database.sh
344-
- name: Install ccache
345-
shell: bash
346-
run: |
347-
ci/scripts/install_ccache.sh 4.6.3 /usr
348-
- name: Setup ccache
349-
shell: bash
350-
run: |
351-
ci/scripts/ccache_setup.sh
352-
- name: ccache info
353-
id: ccache-info
354-
shell: bash
355-
run: |
356-
echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
357-
- name: Cache ccache
358-
uses: actions/cache@v4
359-
with:
360-
path: ${{ steps.ccache-info.outputs.cache-dir }}
361-
key: cpp-ccache-windows-${{ env.CACHE_VERSION }}-${{ hashFiles('cpp/**') }}
362-
restore-keys: cpp-ccache-windows-${{ env.CACHE_VERSION }}-
363-
env:
364-
# We can invalidate the current cache by updating this.
365-
CACHE_VERSION: "2022-09-13"
366-
- name: Build
367-
shell: cmd
368-
run: |
369-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
370-
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
371-
- name: Test
372-
shell: bash
373-
run: |
374-
# For ORC
375-
export TZDIR=/c/msys64/usr/share/zoneinfo
376-
ci/scripts/cpp_test.sh $(pwd) $(pwd)/build
284+
name: AMD64 Windows 2022 AVX2 C++
285+
uses: ./.github/workflows/cpp_windows.yml
286+
with:
287+
arch: x64
288+
os: windows-2022
289+
simd-level: AVX2
377290

378291
windows-mingw:
379292
name: AMD64 Windows MinGW ${{ matrix.msystem_upper }} C++

0 commit comments

Comments
 (0)