Skip to content

Commit 88b6219

Browse files
committed
Rename
1 parent 9298a30 commit 88b6219

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/SparkConnect/Client.swift renamed to Sources/SparkConnect/SparkConnectClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import GRPCProtobuf
2323
import Synchronization
2424

2525
/// Conceptually the remote spark session that communicates with the server
26-
public actor Client {
26+
public actor SparkConnectClient {
2727
let clientType: String = "swift"
2828
let url: URL
2929
let host: String

Tests/SparkConnectTests/ClientTests.swift renamed to Tests/SparkConnectTests/SparkConnectClientTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ import Testing
2424

2525
/// A test suite for `Client`
2626
@Suite(.serialized)
27-
struct ClientTests {
27+
struct SparkConnectClientTests {
2828
@Test
2929
func createAndStop() async throws {
30-
let client = Client(remote: "sc://localhost", user: "test")
30+
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
3131
await client.stop()
3232
}
3333

3434
@Test
3535
func connectWithInvalidUUID() async throws {
36-
let client = Client(remote: "sc://localhost", user: "test")
36+
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
3737
try await #require(throws: SparkConnectError.InvalidSessionIDException) {
3838
let _ = try await client.connect("not-a-uuid-format")
3939
}
@@ -42,7 +42,7 @@ struct ClientTests {
4242

4343
@Test
4444
func connect() async throws {
45-
let client = Client(remote: "sc://localhost", user: "test")
45+
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
4646
let _ = try await client.connect(UUID().uuidString)
4747
await client.stop()
4848
}

0 commit comments

Comments
 (0)