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

dongjoon-hyun 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 90fa414  [SPARK-57333] Use 4.2.0 RC1 for Spark 4.2 integration tests
90fa414 is described below

commit 90fa414397047527f2e8b469ff4cb14945e235c5
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 8 20:35:31 2026 -0700

    [SPARK-57333] Use 4.2.0 RC1 for Spark 4.2 integration tests
    
    ### What changes were proposed in this pull request?
    
    This PR updates the `integration-test-mac-spark42` CI job to use `Apache 
Spark 4.2.0` RC1.
    
    ### Why are the changes needed?
    
    To test against the latest `Apache Spark 4.2.0` RC1.
    - https://dist.apache.org/repos/dist/dev/spark/v4.2.0-rc1-bin/
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs and check the log.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Opus 4.8
    
    Closes #415 from dongjoon-hyun/SPARK-57333.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml                           |  6 +++---
 Tests/SparkConnectTests/Resources/queries/geography.sql        |  2 +-
 Tests/SparkConnectTests/Resources/queries/geography.sql.answer | 10 +++++-----
 Tests/SparkConnectTests/Resources/queries/geometry.sql         |  2 +-
 Tests/SparkConnectTests/Resources/queries/geometry.sql.answer  | 10 +++++-----
 5 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 5e5a106..cf614cc 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -155,9 +155,9 @@ jobs:
       run: swift test --filter NOTHING -c release
     - name: Test
       run: |
-        curl -LO 
https://www.apache.org/dyn/closer.lua/spark/spark-4.2.0-preview5/spark-4.2.0-preview5-bin-hadoop3.tgz?action=download
-        tar xvfz spark-4.2.0-preview5-bin-hadoop3.tgz && rm 
spark-4.2.0-preview5-bin-hadoop3.tgz
-        mv spark-4.2.0-preview5-bin-hadoop3/ /tmp/spark
+        curl -LO 
https://dist.apache.org/repos/dist/dev/spark/v4.2.0-rc1-bin/spark-4.2.0-bin-hadoop3.tgz
+        tar xvfz spark-4.2.0-bin-hadoop3.tgz && rm spark-4.2.0-bin-hadoop3.tgz
+        mv spark-4.2.0-bin-hadoop3/ /tmp/spark
         cd /tmp/spark/sbin
         ./start-connect-server.sh -c spark.sql.geospatial.enabled=true -c 
spark.sql.timeType.enabled=true
         cd -
diff --git a/Tests/SparkConnectTests/Resources/queries/geography.sql 
b/Tests/SparkConnectTests/Resources/queries/geography.sql
index db266f0..e382a29 100644
--- a/Tests/SparkConnectTests/Resources/queries/geography.sql
+++ b/Tests/SparkConnectTests/Resources/queries/geography.sql
@@ -1 +1 @@
-SELECT 
hex(ST_AsBinary(ST_GeogFromWKB(X'0101000000000000000000F03F0000000000000040')))
+SELECT 
hex(ST_AsBinary(ST_GeogFromWKB(X'0101000000000000000000F03F0000000000000040'))) 
c1
diff --git a/Tests/SparkConnectTests/Resources/queries/geography.sql.answer 
b/Tests/SparkConnectTests/Resources/queries/geography.sql.answer
index 872e3d9..7b80651 100644
--- a/Tests/SparkConnectTests/Resources/queries/geography.sql.answer
+++ b/Tests/SparkConnectTests/Resources/queries/geography.sql.answer
@@ -1,5 +1,5 @@
-+-------------------------------------------------------------------------------+
-|hex(st_asbinary(st_geogfromwkb(X'0101000000000000000000F03F0000000000000040')))|
-+-------------------------------------------------------------------------------+
-|                                     
0101000000000000000000F03F0000000000000040|
-+-------------------------------------------------------------------------------+
\ No newline at end of file
++------------------------------------------+
+|                                        c1|
++------------------------------------------+
+|0101000000000000000000F03F0000000000000040|
++------------------------------------------+
\ No newline at end of file
diff --git a/Tests/SparkConnectTests/Resources/queries/geometry.sql 
b/Tests/SparkConnectTests/Resources/queries/geometry.sql
index 83702d6..2f796bc 100644
--- a/Tests/SparkConnectTests/Resources/queries/geometry.sql
+++ b/Tests/SparkConnectTests/Resources/queries/geometry.sql
@@ -1 +1 @@
-SELECT 
hex(ST_AsBinary(ST_GeomFromWKB(X'0101000000000000000000F03F0000000000000040')))
+SELECT 
hex(ST_AsBinary(ST_GeomFromWKB(X'0101000000000000000000F03F0000000000000040'))) 
c1
diff --git a/Tests/SparkConnectTests/Resources/queries/geometry.sql.answer 
b/Tests/SparkConnectTests/Resources/queries/geometry.sql.answer
index b9d25d2..7b80651 100644
--- a/Tests/SparkConnectTests/Resources/queries/geometry.sql.answer
+++ b/Tests/SparkConnectTests/Resources/queries/geometry.sql.answer
@@ -1,5 +1,5 @@
-+----------------------------------------------------------------------------------+
-|hex(st_asbinary(st_geomfromwkb(X'0101000000000000000000F03F0000000000000040', 
0)))|
-+----------------------------------------------------------------------------------+
-|                                        
0101000000000000000000F03F0000000000000040|
-+----------------------------------------------------------------------------------+
\ No newline at end of file
++------------------------------------------+
+|                                        c1|
++------------------------------------------+
+|0101000000000000000000F03F0000000000000040|
++------------------------------------------+
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to