Skip to content

Commit f8f7ebe

Browse files
dongjoon-hyunDongjoon Hyun
andcommitted
[SPARK-51854] Remove SwiftyTextTable dependency and unused import statements
### What changes were proposed in this pull request? This PR aims to remove unused `SwiftTextTable` dependency and unused `import` statements. ### Why are the changes needed? To simplify project by removing the unused leftover dependency and `import` statement. ### Does this PR introduce _any_ user-facing change? No behavior change. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #76 from dongjoon-hyun/SPARK-51854. Lead-authored-by: Dongjoon Hyun <[email protected]> Co-authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 6c2d5eb commit f8f7ebe

File tree

6 files changed

+0
-23
lines changed

6 files changed

+0
-23
lines changed

Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ let package = Package(
3737
.package(url: "https://github.com/grpc/grpc-swift.git", from: "2.1.2"),
3838
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", from: "1.2.0"),
3939
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", from: "1.0.3"),
40-
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"),
4140
.package(url: "https://github.com/google/flatbuffers.git", branch: "v25.2.10"),
4241
],
4342
targets: [
@@ -47,7 +46,6 @@ let package = Package(
4746
.product(name: "GRPCCore", package: "grpc-swift"),
4847
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
4948
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
50-
.product(name: "SwiftyTextTable", package: "SwiftyTextTable"),
5149
.product(name: "FlatBuffers", package: "flatbuffers"),
5250
]
5351
),

Sources/SparkConnect/DataFrame.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import Foundation
2121
import GRPCCore
2222
import GRPCNIOTransportHTTP2
2323
import GRPCProtobuf
24-
import NIOCore
25-
import SwiftyTextTable
2624
import Synchronization
2725

2826
/// A DataFrame which supports only SQL queries

Sources/SparkConnect/DataFrameReader.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,7 @@
1616
// specific language governing permissions and limitations
1717
// under the License.
1818
//
19-
import Atomics
2019
import Foundation
21-
import GRPCCore
22-
import GRPCNIOTransportHTTP2
23-
import GRPCProtobuf
24-
import NIOCore
25-
import SwiftyTextTable
26-
import Synchronization
2720

2821
/// An interface used to load a `DataFrame` from external storage systems
2922
/// (e.g. file systems, key-value stores, etc). Use `SparkSession.read` to access this.

Sources/SparkConnect/DataFrameWriter.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,7 @@
1616
// specific language governing permissions and limitations
1717
// under the License.
1818
//
19-
import Atomics
2019
import Foundation
21-
import GRPCCore
22-
import GRPCNIOTransportHTTP2
23-
import GRPCProtobuf
24-
import NIOCore
25-
import SwiftyTextTable
26-
import Synchronization
2720

2821
/// An interface used to write a `DataFrame` to external storage systems
2922
/// (e.g. file systems, key-value stores, etc). Use `DataFrame.write` to access this.

Sources/SparkConnect/SparkConnectClient.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import Foundation
2020
import GRPCCore
2121
import GRPCNIOTransportHTTP2
2222
import GRPCProtobuf
23-
import Synchronization
2423

2524
/// Conceptually the remote spark session that communicates with the server
2625
public actor SparkConnectClient {

Sources/SparkConnect/SparkSession.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919

2020
import Dispatch
2121
import Foundation
22-
import GRPCCore
23-
import GRPCNIOTransportHTTP2
24-
import GRPCProtobuf
25-
import Synchronization
2622

2723
/// The entry point to programming Spark with ``DataFrame`` API.
2824
///

0 commit comments

Comments
 (0)