This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git


The following commit(s) were added to refs/heads/main by this push:
     new f8f7ebe  [SPARK-51854] Remove `SwiftyTextTable` dependency and unused 
`import` statements
f8f7ebe is described below

commit f8f7ebeb71ae87e4758d87e40fe20d9ed90703af
Author: Dongjoon Hyun <dongj...@apache.org>
AuthorDate: Mon Apr 21 14:05:14 2025 +0900

    [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 <dongj...@apache.org>
    Co-authored-by: Dongjoon Hyun <dongjoon@MBA.local>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 Package.swift                                 | 2 --
 Sources/SparkConnect/DataFrame.swift          | 2 --
 Sources/SparkConnect/DataFrameReader.swift    | 7 -------
 Sources/SparkConnect/DataFrameWriter.swift    | 7 -------
 Sources/SparkConnect/SparkConnectClient.swift | 1 -
 Sources/SparkConnect/SparkSession.swift       | 4 ----
 6 files changed, 23 deletions(-)

diff --git a/Package.swift b/Package.swift
index c0b85b6..c6c8b0b 100644
--- a/Package.swift
+++ b/Package.swift
@@ -37,7 +37,6 @@ let package = Package(
     .package(url: "https://github.com/grpc/grpc-swift.git";, from: "2.1.2"),
     .package(url: "https://github.com/grpc/grpc-swift-protobuf.git";, from: 
"1.2.0"),
     .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git";, 
from: "1.0.3"),
-    .package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git";, from: 
"0.9.0"),
     .package(url: "https://github.com/google/flatbuffers.git";, branch: 
"v25.2.10"),
   ],
   targets: [
@@ -47,7 +46,6 @@ let package = Package(
         .product(name: "GRPCCore", package: "grpc-swift"),
         .product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
         .product(name: "GRPCNIOTransportHTTP2", package: 
"grpc-swift-nio-transport"),
-        .product(name: "SwiftyTextTable", package: "SwiftyTextTable"),
         .product(name: "FlatBuffers", package: "flatbuffers"),
       ]
     ),
diff --git a/Sources/SparkConnect/DataFrame.swift 
b/Sources/SparkConnect/DataFrame.swift
index f9156a2..c521df4 100644
--- a/Sources/SparkConnect/DataFrame.swift
+++ b/Sources/SparkConnect/DataFrame.swift
@@ -21,8 +21,6 @@ import Foundation
 import GRPCCore
 import GRPCNIOTransportHTTP2
 import GRPCProtobuf
-import NIOCore
-import SwiftyTextTable
 import Synchronization
 
 /// A DataFrame which supports only SQL queries
diff --git a/Sources/SparkConnect/DataFrameReader.swift 
b/Sources/SparkConnect/DataFrameReader.swift
index 626ff77..4010fb2 100644
--- a/Sources/SparkConnect/DataFrameReader.swift
+++ b/Sources/SparkConnect/DataFrameReader.swift
@@ -16,14 +16,7 @@
 // specific language governing permissions and limitations
 // under the License.
 //
-import Atomics
 import Foundation
-import GRPCCore
-import GRPCNIOTransportHTTP2
-import GRPCProtobuf
-import NIOCore
-import SwiftyTextTable
-import Synchronization
 
 /// An interface used to load a `DataFrame` from external storage systems
 /// (e.g. file systems, key-value stores, etc). Use `SparkSession.read` to 
access this.
diff --git a/Sources/SparkConnect/DataFrameWriter.swift 
b/Sources/SparkConnect/DataFrameWriter.swift
index 9a142a5..bcab5a6 100644
--- a/Sources/SparkConnect/DataFrameWriter.swift
+++ b/Sources/SparkConnect/DataFrameWriter.swift
@@ -16,14 +16,7 @@
 // specific language governing permissions and limitations
 // under the License.
 //
-import Atomics
 import Foundation
-import GRPCCore
-import GRPCNIOTransportHTTP2
-import GRPCProtobuf
-import NIOCore
-import SwiftyTextTable
-import Synchronization
 
 /// An interface used to write a `DataFrame` to external storage systems
 /// (e.g. file systems, key-value stores, etc). Use `DataFrame.write` to 
access this.
diff --git a/Sources/SparkConnect/SparkConnectClient.swift 
b/Sources/SparkConnect/SparkConnectClient.swift
index 64f43a8..0d2413e 100644
--- a/Sources/SparkConnect/SparkConnectClient.swift
+++ b/Sources/SparkConnect/SparkConnectClient.swift
@@ -20,7 +20,6 @@ import Foundation
 import GRPCCore
 import GRPCNIOTransportHTTP2
 import GRPCProtobuf
-import Synchronization
 
 /// Conceptually the remote spark session that communicates with the server
 public actor SparkConnectClient {
diff --git a/Sources/SparkConnect/SparkSession.swift 
b/Sources/SparkConnect/SparkSession.swift
index 1b943a4..3e9bdf1 100644
--- a/Sources/SparkConnect/SparkSession.swift
+++ b/Sources/SparkConnect/SparkSession.swift
@@ -19,10 +19,6 @@
 
 import Dispatch
 import Foundation
-import GRPCCore
-import GRPCNIOTransportHTTP2
-import GRPCProtobuf
-import Synchronization
 
 /// The entry point to programming Spark with ``DataFrame`` API.
 ///


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to