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 090cd04  [SPARK-52289] Enable `jsonToDdl` test in Linux environment
090cd04 is described below

commit 090cd04f78b3289ee6452b9cdb12b7adc5a26111
Author: Dongjoon Hyun <dongj...@apache.org>
AuthorDate: Fri May 23 21:09:24 2025 -0700

    [SPARK-52289] Enable `jsonToDdl` test in Linux environment
    
    ### What changes were proposed in this pull request?
    
    This PR aims to enable `jsonToDdl` test in Linux environment.
    
    ### Why are the changes needed?
    
    Previous, the test case was disabled in Linux environment because 
`JsonToDDL` message was added after Apache Spark 4.0.0-preview2.
    - https://github.com/apache/spark/pull/49142
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual test because the Linux CI is moved to the daily CI.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #172 from dongjoon-hyun/SPARK-52289.
    
    Authored-by: Dongjoon Hyun <dongj...@apache.org>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 Tests/SparkConnectTests/SparkConnectClientTests.swift | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Tests/SparkConnectTests/SparkConnectClientTests.swift 
b/Tests/SparkConnectTests/SparkConnectClientTests.swift
index d519c9b..d0c6db2 100644
--- a/Tests/SparkConnectTests/SparkConnectClientTests.swift
+++ b/Tests/SparkConnectTests/SparkConnectClientTests.swift
@@ -84,7 +84,6 @@ struct SparkConnectClientTests {
     await client.stop()
   }
 
-#if !os(Linux)  // TODO: Enable this with the offical Spark 4 docker image
   @Test
   func jsonToDdl() async throws {
     let client = SparkConnectClient(remote: TEST_REMOTE)
@@ -96,5 +95,4 @@ struct SparkConnectClientTests {
     }
     await client.stop()
   }
-#endif
 }


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

Reply via email to