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 57d7fc390a3 [SPARK-45633][PYTHON][SQL][TESTS] Make SQL test group
depend on `analyze_udtf.py`
57d7fc390a3 is described below
commit 57d7fc390a34393f69ddc6153209988709f7b846
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Mon Oct 23 19:10:25 2023 +0900
[SPARK-45633][PYTHON][SQL][TESTS] Make SQL test group depend on
`analyze_udtf.py`
### What changes were proposed in this pull request?
`analyze_udtf` is invoked from
`UserDefinedPythonTableFunctionAnalyzeRunner.runInPython`, and tested in
`org.apache.spark.sql.execution.python.PythonUDTFSuite`
### Why are the changes needed?
to avoid https://github.com/apache/spark/pull/43470#issuecomment-1774628434
### Does this PR introduce _any_ user-facing change?
no, test only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #43486 from zhengruifeng/build_udtf_dep.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
dev/sparktestsupport/modules.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 8506949eaff..7251fd7c158 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -198,6 +198,7 @@ sql = Module(
dependencies=[catalyst],
source_file_regexes=[
"sql/core/",
+ "python/pyspark/sql/worker/", # analyze_udtf is invoked and tested in
JVM
],
sbt_test_goals=[
"sql/test",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]