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

sarutak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new f2509369d1c0 [SPARK-55914][TESTS] add `sbt_test_goals` to 
`sparktestsupport/modules.py` for `sql-api`
f2509369d1c0 is described below

commit f2509369d1c074991c0c4c000b12717f47e1adef
Author: Kousuke Saruta <[email protected]>
AuthorDate: Tue Mar 10 15:30:36 2026 +0900

    [SPARK-55914][TESTS] add `sbt_test_goals` to `sparktestsupport/modules.py` 
for `sql-api`
    
    ### What changes were proposed in this pull request?
    This PR fixes an issue that tests under `sql/api` don't run through 
`dev/run-test`.
    The cause is that `sbt_test_goals` for `sql-api` is not defined so this PR 
adds it to `sparktestsupport/modules.py`.
    
    ### Why are the changes needed?
    For better test coverage.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    All tests including ones under `sql/api` passed on GA.
    <img width="707" height="286" alt="tests-under-sql-api" 
src="https://github.com/user-attachments/assets/09839583-8516-46f4-a04a-00b2267d24d7";
 />
    
    ### Was this patch authored or co-authored using generative AI tooling?
    Kiro CLI / Sonnet 4.6
    
    Closes #54713 from sarutak/enable-sql-api-test-on-ga.
    
    Authored-by: Kousuke Saruta <[email protected]>
    Signed-off-by: Kousuke Saruta <[email protected]>
---
 dev/sparktestsupport/modules.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index e1851602d020..1b6c2eb83a57 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -239,6 +239,9 @@ api = Module(
     source_file_regexes=[
         "sql/api/",
     ],
+    sbt_test_goals=[
+        "sql-api/test",
+    ],
 )
 
 catalyst = Module(


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

Reply via email to