Skip to content

Commit 8097b4a

Browse files
committed
Address comment
1 parent c712ff5 commit 8097b4a

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

README.md

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,3 @@ So far, this library project is tracking the upstream changes like the [Apache S
1313
- [gRPC Swift Protobuf 1.0 (March 2025)](https://github.com/grpc/grpc-swift-protobuf/releases/tag/1.1.0)
1414
- [gRPC Swift NIO Transport 1.0 (March 2025)](https://github.com/grpc/grpc-swift-nio-transport/releases/tag/1.0.1)
1515
- [Apache Arrow Swift](https://github.com/apache/arrow/tree/main/swift)
16-
17-
## Run `Apache Spark 4.0.0 RC2 Connect Server`
18-
19-
$ curl -LO https://dist.apache.org/repos/dist/dev/spark/v4.0.0-rc2-bin/spark-4.0.0-bin-hadoop3.tgz
20-
$ tar xvfz spark-4.0.0-bin-hadoop3.tgz
21-
$ cd spark-4.0.0-bin-hadoop3
22-
$ sbin/start-connect-server.sh
23-
24-
## Run tests
25-
26-
```
27-
$ cd spark-connect-swift
28-
$ swift test
29-
```
30-
31-
## How to use in your apps
32-
33-
Create a Swift project.
34-
```
35-
$ mkdir SparkConnectSwiftApp
36-
$ cd SparkConnectSwiftApp
37-
$ swift package init --name SparkConnectSwiftApp --type executable
38-
```
39-
40-
Add `SparkConnect` package to the dependency like the following
41-
```
42-
$ cat Package.swift
43-
import PackageDescription
44-
45-
let package = Package(
46-
name: "SparkConnectSwiftApp",
47-
platforms: [
48-
.macOS(.v15)
49-
],
50-
dependencies: [
51-
.package(url: "https://github.com/apache/spark-connect-swift.git", branch: "main")
52-
],
53-
targets: [
54-
.executableTarget(
55-
name: "SparkConnectSwiftApp",
56-
dependencies: [.product(name: "SparkConnect", package: "spark-connect-swift")]
57-
)
58-
]
59-
)
60-
```

0 commit comments

Comments
 (0)