You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2023/10/25 00:14:46 UTC
[spark] branch master updated: [SPARK-45648][INFRA] Add `sql/api` and `common/utils` to `modules.py`
This is an automated email from the ASF dual-hosted git repository.
gurwls223 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 093b7e1846b4 [SPARK-45648][INFRA] Add `sql/api` and `common/utils` to `modules.py`
093b7e1846b4 is described below
commit 093b7e1846b43273538e9b50898685478ceb6089
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Wed Oct 25 09:14:33 2023 +0900
[SPARK-45648][INFRA] Add `sql/api` and `common/utils` to `modules.py`
### What changes were proposed in this pull request?
Add `sql/api` and `common/utils` to `modules.py`
### Why are the changes needed?
new modules should be covered in `modules.py`, otherwise related tests maybe wrongly skipped in some cases
### Does this PR introduce _any_ user-facing change?
no, infra-only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #43501 from zhengruifeng/infra_sql_api.
Authored-by: Ruifeng Zheng <ru...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
.github/workflows/build_and_test.yml | 4 ++--
dev/sparktestsupport/modules.py | 18 +++++++++++++++++-
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index cb0715ffd371..13e751bcaa77 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -141,11 +141,11 @@ jobs:
# Note that the modules below are from sparktestsupport/modules.py.
modules:
- >-
- core, unsafe, kvstore, avro,
+ core, unsafe, kvstore, avro, utils,
network-common, network-shuffle, repl, launcher,
examples, sketch, graphx
- >-
- catalyst, hive-thriftserver
+ api, catalyst, hive-thriftserver
- >-
mllib-local,mllib
- >-
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 2a4045065244..95c9069a8313 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -157,6 +157,14 @@ unsafe = Module(
],
)
+utils = Module(
+ name="utils",
+ dependencies=[tags],
+ source_file_regexes=[
+ "common/utils/",
+ ],
+)
+
launcher = Module(
name="launcher",
dependencies=[tags],
@@ -179,9 +187,17 @@ core = Module(
],
)
+api = Module(
+ name="api",
+ dependencies=[utils, unsafe],
+ source_file_regexes=[
+ "sql/api/",
+ ],
+)
+
catalyst = Module(
name="catalyst",
- dependencies=[tags, core],
+ dependencies=[tags, core, api],
source_file_regexes=[
"sql/catalyst/",
],
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org