This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git
The following commit(s) were added to refs/heads/main by this push:
new 4a73396 [SPARK-55007] Make `README.md` and `Examples` up-to-date with
4.1.1
4a73396 is described below
commit 4a73396fbf98df4edf927545315bd7d35556d457
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jan 12 13:51:58 2026 +0900
[SPARK-55007] Make `README.md` and `Examples` up-to-date with 4.1.1
### What changes were proposed in this pull request?
This PR aims to make `README.md` and `Examples` up-to-date with Apache
Spark 4.1.1.
### Why are the changes needed?
To guide a user to use the latest Apache Spark release.
### Does this PR introduce _any_ user-facing change?
No behavior change. This is a documentation-only change.
### How was this patch tested?
Manual review.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #280 from dongjoon-hyun/SPARK-55007.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
Examples/app/README.md | 6 +++---
Examples/pi/README.md | 2 +-
Examples/spark-sql/README.md | 8 ++++----
Examples/stream/README.md | 4 ++--
Examples/web/README.md | 4 ++--
README.md | 4 ++--
Sources/SparkConnect/Documentation.docc/Examples.md | 4 ++--
7 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/Examples/app/README.md b/Examples/app/README.md
index 7c1f874..496ec54 100644
--- a/Examples/app/README.md
+++ b/Examples/app/README.md
@@ -7,7 +7,7 @@ This is an example Swift application to show how to use Apache
Spark Connect Swi
Prepare `Spark Connect Server` via running Docker image.
```bash
-docker run --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
+docker run --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
```
Build an application Docker image.
@@ -23,7 +23,7 @@ Run `app` docker image.
```bash
$ docker run --rm -e SPARK_REMOTE=sc://host.docker.internal:15002
apache/spark-connect-swift:app
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
EXECUTE: DROP TABLE IF EXISTS t
EXECUTE: CREATE TABLE IF NOT EXISTS t(a INT) USING ORC
EXECUTE: INSERT INTO t VALUES (1), (2), (3)
@@ -52,7 +52,7 @@ Run from source code.
```bash
$ swift run
...
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
EXECUTE: DROP TABLE IF EXISTS t
EXECUTE: CREATE TABLE IF NOT EXISTS t(a INT) USING ORC
EXECUTE: INSERT INTO t VALUES (1), (2), (3)
diff --git a/Examples/pi/README.md b/Examples/pi/README.md
index 873e9ba..3033d19 100644
--- a/Examples/pi/README.md
+++ b/Examples/pi/README.md
@@ -7,7 +7,7 @@ This is an example Swift application to show how to use Apache
Spark Connect Swi
Prepare `Spark Connect Server` via running Docker image.
```bash
-docker run --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
+docker run --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
```
Build an application Docker image.
diff --git a/Examples/spark-sql/README.md b/Examples/spark-sql/README.md
index c7aaa2e..13decd1 100644
--- a/Examples/spark-sql/README.md
+++ b/Examples/spark-sql/README.md
@@ -7,7 +7,7 @@ This is an example Swift application to show how to develop a
Spark SQL REPL(Rea
Prepare `Spark Connect Server` via running Docker image.
```bash
-docker run -it --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
+docker run -it --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
```
Build an application Docker image.
@@ -23,7 +23,7 @@ Run `spark-sql` docker image.
```bash
$ docker run -it --rm -e SPARK_REMOTE=sc://host.docker.internal:15002
apache/spark-connect-swift:spark-sql
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
spark-sql (default)> SHOW DATABASES;
+---------+
|namespace|
@@ -87,14 +87,14 @@ Time taken: 46 ms
spark-sql (default)> exit;
```
-Apache Spark 4 supports [SQL Pipe
Syntax](https://spark.apache.org/docs/4.1.0/sql-pipe-syntax.html).
+Apache Spark 4 supports [SQL Pipe
Syntax](https://spark.apache.org/docs/4.1.1/sql-pipe-syntax.html).
Run from source code at this time.
```bash
$ swift run
...
Build of product 'SparkSQLRepl' complete! (2.33s)
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
spark-sql (default)>
FROM ORC.`/opt/spark/examples/src/main/resources/users.orc`
|> AGGREGATE COUNT(*) cnt
diff --git a/Examples/stream/README.md b/Examples/stream/README.md
index 2c6b87f..8e6b146 100644
--- a/Examples/stream/README.md
+++ b/Examples/stream/README.md
@@ -5,7 +5,7 @@ This is an example Swift stream processing application to show
how to count word
## Run `Spark Connect Server`
```bash
-docker run --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait -c spark.log.level=ERROR"
+docker run --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait -c spark.log.level=ERROR"
```
## Run `Netcat` as a streaming input server
@@ -81,5 +81,5 @@ Batch: 2
```bash
$ TARGET_HOST=host.docker.internal swift run
...
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
```
diff --git a/Examples/web/README.md b/Examples/web/README.md
index 77f968b..f256910 100644
--- a/Examples/web/README.md
+++ b/Examples/web/README.md
@@ -90,7 +90,7 @@ index 2edcc8f..dd918a9 100644
Prepare `Spark Connect Server` via running Docker image.
```bash
-docker run --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
+docker run --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait"
```
Build an application Docker image.
@@ -116,7 +116,7 @@ $ curl http://127.0.0.1:8080/
Welcome to the Swift world. Say hello!%
$ curl http://127.0.0.1:8080/hello
-Hi, this is powered by the Apache Spark 4.1.0.%
+Hi, this is powered by the Apache Spark 4.1.1.%
```
Run from source code.
diff --git a/README.md b/README.md
index cc5b4dd..69eebc8 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ So far, this library project is tracking the upstream changes
of [Apache Arrow](
## Requirement
-- [Apache Spark 4.1.0 (December
2025)](https://github.com/apache/spark/releases/tag/v4.1.0)
+- [Apache Spark 4.1.1 (January
2026)](https://github.com/apache/spark/releases/tag/v4.1.1)
- [Swift 6.2 (September 2025)](https://swift.org)
- [gRPC Swift 2.2 (November
2025)](https://github.com/grpc/grpc-swift-2/releases/tag/2.2.1)
- [gRPC Swift Protobuf 2.1.2 (December
2025)](https://github.com/grpc/grpc-swift-protobuf/releases/tag/2.1.2)
@@ -91,7 +91,7 @@ Run your Swift application.
```bash
$ swift run
...
-Connected to Apache Spark 4.1.0 Server
+Connected to Apache Spark 4.1.1 Server
EXECUTE: DROP TABLE IF EXISTS t
EXECUTE: CREATE TABLE IF NOT EXISTS t(a INT) USING ORC
EXECUTE: INSERT INTO t VALUES (1), (2), (3)
diff --git a/Sources/SparkConnect/Documentation.docc/Examples.md
b/Sources/SparkConnect/Documentation.docc/Examples.md
index 50b83fd..a04df56 100644
--- a/Sources/SparkConnect/Documentation.docc/Examples.md
+++ b/Sources/SparkConnect/Documentation.docc/Examples.md
@@ -7,7 +7,7 @@ This document provides an overview of the example applications
inside [Examples]
Start a Spark Connect Server:
```bash
-docker run -it --rm -p 15002:15002 apache/spark:4.1.0 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait -c spark.log.level=ERROR"
+docker run -it --rm -p 15002:15002 apache/spark:4.1.1 bash -c
"/opt/spark/sbin/start-connect-server.sh --wait -c spark.log.level=ERROR"
```
## Basic Application Example
@@ -154,7 +154,7 @@ Welcome to the Swift world. Say hello!%
# Spark-powered endpoint
curl http://127.0.0.1:8080/hello
-Hi, this is powered by the Apache Spark 4.1.0.%
+Hi, this is powered by the Apache Spark 4.1.1.%
```
## Development Environment
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]