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

yangjie01 pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 4f48cfb92bd3 [SPARK-51948][BUILD] Make changes of `mllib` module to 
trigger the test for the `connect` module
4f48cfb92bd3 is described below

commit 4f48cfb92bd3081efa5f41036f890dfa4af1fd9a
Author: yangjie01 <yangji...@baidu.com>
AuthorDate: Tue Apr 29 22:30:07 2025 +0800

    [SPARK-51948][BUILD] Make changes of `mllib` module to trigger the test for 
the `connect` module
    
    ### What changes were proposed in this pull request?
    This pr appends `mllib` to the `dependencies` list of the `connect` module 
in the file `dev/sparktestsupport/modules.py`, ensuring that changes to the 
`mllib` module will trigger the tests for the `connect` module.
    
    ### Why are the changes needed?
    Changes to the `mllib` module should trigger the tests for the connect 
module.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    - Pass Github Actions
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #50753 from LuciferYang/connect-mllib.
    
    Lead-authored-by: yangjie01 <yangji...@baidu.com>
    Co-authored-by: YangJie <yangji...@baidu.com>
    Signed-off-by: yangjie01 <yangji...@baidu.com>
    (cherry picked from commit ef336ad51ba62e64a77896b9da12791051fa92cb)
    Signed-off-by: yangjie01 <yangji...@baidu.com>
---
 dev/sparktestsupport/modules.py | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index b4681574c4bd..54988ac5b788 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -329,18 +329,6 @@ protobuf = Module(
     ],
 )
 
-connect = Module(
-    name="connect",
-    dependencies=[hive, avro, protobuf],
-    source_file_regexes=[
-        "sql/connect",
-    ],
-    sbt_test_goals=[
-        "connect/test",
-        "connect-client-jvm/test",
-    ],
-)
-
 graphx = Module(
     name="graphx",
     dependencies=[tags, core],
@@ -420,6 +408,17 @@ mllib = Module(
     ],
 )
 
+connect = Module(
+    name="connect",
+    dependencies=[hive, avro, protobuf, mllib],
+    source_file_regexes=[
+        "sql/connect",
+    ],
+    sbt_test_goals=[
+        "connect/test",
+        "connect-client-jvm/test",
+    ],
+)
 
 examples = Module(
     name="examples",


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

Reply via email to