Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 6 additions & 46 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,6 @@ jobs:
with:
config: .github/.licenserc.yaml

build-macos-15-swift60:
runs-on: macos-15
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.0"
- name: Build
run: swift build -c release

build-macos-15-swift61:
runs-on: macos-15
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Build
run: swift build -c release

build-macos-26-swift62:
runs-on: macos-26
timeout-minutes: 20
Expand Down Expand Up @@ -129,15 +107,12 @@ jobs:
docker run --add-host=host.docker.internal:host-gateway -v $PWD:/spark -w /spark -e SPARK_REMOTE='sc://host.docker.internal:15003' swift:6.2 swift test --no-parallel -c release

integration-test-mac-spark41:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Build
run: swift test --filter NOTHING -c release
- name: Test
Expand All @@ -151,15 +126,12 @@ jobs:
swift test --no-parallel -c release

integration-test-mac:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Build
run: swift test --filter NOTHING -c release
- name: Test
Expand All @@ -173,16 +145,13 @@ jobs:
swift test --no-parallel -c release

integration-test-token:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
SPARK_CONNECT_AUTHENTICATE_TOKEN: ${{ github.run_id }}-${{ github.run_attempt }}
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Build
run: swift test --filter NOTHING -c release
- name: Test
Expand All @@ -196,15 +165,12 @@ jobs:
swift test --no-parallel -c release

integration-test-mac-spark3:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Install Java
uses: actions/setup-java@v4
with:
Expand All @@ -223,16 +189,13 @@ jobs:
swift test --no-parallel -c release

integration-test-mac-spark3-iceberg:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
SPARK_ICEBERG_TEST_ENABLED: "true"
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Install Java
uses: actions/setup-java@v4
with:
Expand All @@ -252,16 +215,13 @@ jobs:
swift test --filter IcebergTest -c release

integration-test-mac-spark4-iceberg:
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 20
env:
SPARK_LOCAL_IP: localhost
SPARK_ICEBERG_TEST_ENABLED: "true"
steps:
- uses: actions/checkout@v5
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
with:
swift-version: "6.1"
- name: Install Java
uses: actions/setup-java@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions Examples/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM swift:6.1 AS builder
FROM swift:6.2 AS builder

WORKDIR /app

COPY . .

RUN swift build -c release

FROM swift:6.1-slim
FROM swift:6.2-slim

ARG SPARK_UID=185

Expand Down
2 changes: 1 addition & 1 deletion Examples/app/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 6.0
// swift-tools-version: 6.2
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
Expand Down
4 changes: 2 additions & 2 deletions Examples/pi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM swift:6.1 AS builder
FROM swift:6.2 AS builder

WORKDIR /app

COPY . .

RUN swift build -c release

FROM swift:6.1-slim
FROM swift:6.2-slim

ARG SPARK_UID=185

Expand Down
2 changes: 1 addition & 1 deletion Examples/pi/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 6.0
// swift-tools-version: 6.2
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
Expand Down
4 changes: 2 additions & 2 deletions Examples/spark-sql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM swift:6.1 AS builder
FROM swift:6.2 AS builder

WORKDIR /app

COPY . .

RUN swift build -c release

FROM swift:6.1-slim
FROM swift:6.2-slim

ARG SPARK_UID=185

Expand Down
2 changes: 1 addition & 1 deletion Examples/spark-sql/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 6.0
// swift-tools-version: 6.2
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
Expand Down
4 changes: 2 additions & 2 deletions Examples/stream/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM swift:6.1 AS builder
FROM swift:6.2 AS builder

WORKDIR /app

COPY . .

RUN swift build -c release

FROM swift:6.1-slim
FROM swift:6.2-slim

ARG SPARK_UID=185

Expand Down
2 changes: 1 addition & 1 deletion Examples/stream/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 6.0
// swift-tools-version: 6.2
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
Expand Down
4 changes: 2 additions & 2 deletions Examples/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM swift:6.1 AS builder
FROM swift:6.2 AS builder

WORKDIR /app

COPY . .

RUN swift build -c release

FROM swift:6.1-slim
FROM swift:6.2-slim

ARG SPARK_UID=185

Expand Down
2 changes: 1 addition & 1 deletion Examples/web/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:6.0
// swift-tools-version: 6.2
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 6.0
// swift-tools-version: 6.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Licensed to the Apache Software Foundation (ASF) under one
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ So far, this library project is tracking the upstream changes of [Apache Arrow](
## Requirement

- [Apache Spark 4.0.1 (September 2025)](https://github.com/apache/spark/releases/tag/v4.0.1)
- [Swift 6.0/6.1/6.2 (September 2025)](https://swift.org)
- [Swift 6.2 (September 2025)](https://swift.org)
- [gRPC Swift 2.1 (July 2025)](https://github.com/grpc/grpc-swift-2/releases/tag/2.1.0)
- [gRPC Swift Protobuf 2.1 (August 2025)](https://github.com/grpc/grpc-swift-protobuf/releases/tag/2.1.1)
- [gRPC Swift NIO Transport 2.2 (September 2025)](https://github.com/grpc/grpc-swift-nio-transport/releases/tag/2.2.0)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SparkConnect/Documentation.docc/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ targets: [

## Prerequisites

- Swift 6.0 or later
- Swift 6.2 or later
- macOS 15+, iOS 18+, watchOS 11+, or tvOS 18+
- A running Apache Spark cluster with Spark Connect enabled

Expand Down
Loading