@@ -7,7 +7,7 @@ This is an example Swift application to show how to develop a Spark SQL REPL(Rea
77Prepare ` Spark Connect Server ` via running Docker image.
88
99``` bash
10- docker run -it --rm -p 15002:15002 apache/spark:4.0.0 bash -c " /opt/spark/sbin/start-connect-server.sh --wait"
10+ docker run -it --rm -p 15002:15002 apache/spark:4.0.1 bash -c " /opt/spark/sbin/start-connect-server.sh --wait"
1111```
1212
1313Build an application Docker image.
@@ -23,7 +23,7 @@ Run `spark-sql` docker image.
2323
2424``` bash
2525$ docker run -it --rm -e SPARK_REMOTE=sc://host.docker.internal:15002 apache/spark-connect-swift:spark-sql
26- Connected to Apache Spark 4.0.0 Server
26+ Connected to Apache Spark 4.0.1 Server
2727spark-sql (default)> SHOW DATABASES;
2828+---------+
2929| namespace|
@@ -85,13 +85,13 @@ spark-sql (default)> DROP DATABASE db1 CASCADE;
8585spark-sql (default)> exit ;
8686```
8787
88- Apache Spark 4 supports [ SQL Pipe Syntax] ( https://spark.apache.org/docs/4.0.0 /sql-pipe-syntax.html ) .
88+ Apache Spark 4 supports [ SQL Pipe Syntax] ( https://spark.apache.org/docs/4.0.1 /sql-pipe-syntax.html ) .
8989
9090``` bash
9191$ swift run
9292...
9393Build of product ' SparkSQLRepl' complete! (2.33s)
94- Connected to Apache Spark 4.0.0 Server
94+ Connected to Apache Spark 4.0.1 Server
9595spark-sql (default)>
9696FROM ORC.` /opt/spark/examples/src/main/resources/users.orc`
9797| > AGGREGATE COUNT(* ) cnt
@@ -113,6 +113,6 @@ Run from source code.
113113``` bash
114114$ swift run
115115...
116- Connected to Apache Spark 4.0.0 Server
116+ Connected to Apache Spark 4.0.1 Server
117117spark-sql (default)>
118118```
0 commit comments