From 57d7fc390a34393f69ddc6153209988709f7b846 Mon Sep 17 00:00:00 2001 From: Ruifeng Zheng Date: Mon, 23 Oct 2023 19:10:25 +0900 Subject: [PATCH] [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 Signed-off-by: Hyukjin Kwon --- dev/sparktestsupport/modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py index 8506949eaffbc..7251fd7c15887 100644 --- a/dev/sparktestsupport/modules.py +++ b/dev/sparktestsupport/modules.py @@ -198,6 +198,7 @@ def __hash__(self): dependencies=[catalyst], source_file_regexes=[ "sql/core/", + "python/pyspark/sql/worker/", # analyze_udtf is invoked and tested in JVM ], sbt_test_goals=[ "sql/test",