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
5 changes: 3 additions & 2 deletions Sources/SparkConnect/Documentation.docc/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ targets: [
```swift
import SparkConnect

let spark = SparkSession.builder()
let spark = try await SparkSession
.builder
.appName("MySwiftApp")
.remote("sc://localhost:15002")
.build()
.getOrCreate()
```

### 2. DataFrame Operations
Expand Down
7 changes: 4 additions & 3 deletions Sources/SparkConnect/Documentation.docc/SparkSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ The entry point for SparkConnect functionality.
### Creating a SparkSession

```swift
let spark = SparkSession.builder()
.appName("My Swift Spark App")
let spark = try await SparkSession
.builder
.appName("MySwiftApp")
.remote("sc://localhost:15002")
.build()
.getOrCreate()
```

### Basic Usage
Expand Down
Loading