HyukjinKwon opened a new pull request, #443: URL: https://github.com/apache/spark-connect-rust/pull/443
### What changes were proposed in this pull request? [SPARK-61323](https://issues.apache.org/jira/browse/SPARK-61323): run the official Connect tests that CI was skipping although they pass. - `scripts/run_official_tests.py`: the drop-in runner removes `SPARK_SKIP_CONNECT_COMPAT_TESTS` for its own test processes. The drop-in's `is_remote_only()` is true without it, and the official `test_parity_udtf.py` skips its whole Arrow UDTF suite whenever it is set. The transport runner keeps setting it, because the official base classes (`pyspark/testing/connectutils.py`) build a classic session in `setUpClass` unless `is_remote_only()` is true: without it every test of the file errors at setup. The top-level `env` of `build_python_connect.yml` keeps it for the Spark server and the transport gate, with a comment saying who reads it. - `.github/workflows/build_python_connect.yml`: the connect-parity and connect-dropin jobs install `plotly<6.0.0` and `graphviz==0.20.3`, the pins of Apache Spark's own connect job, so `sql/tests/connect/test_parity_frame_plot_plotly.py`, the graphviz test of `test_df_debug.py`, and our own `test_pandas_api_takes_its_index_and_plot_is_of_pyspark` (which does `importorskip("plotly")`) run instead of skipping. - `scripts/dropin_known_failures.txt`: the reason of `test_recursion_handling_for_plan_logging` said the reference fails it too. The reference passes it; ours fails at the test's use of `spark._client` and `DataFrame._plan.to_proto`, by design. ### Why are the changes needed? CI reported these suites green while 131 Arrow UDTF parity tests, 12 plot tests, a query-execution metrics test and one of our own live tests never ran. ### Does this PR introduce _any_ user-facing change? No, CI only. ### How was this patch tested? Locally, against a Spark 4.3.0 Connect server, through `scripts/run_official_tests.py` as CI runs it: - `test_parity_udtf.py` on the drop-in without the variable: 387 passed, 0 failed, 21 skipped (with it: 130 passed, 145 skipped for `-k ArrowUDTF`). Through the transport without it: 275 setup errors, so it stays set there; the same holds for the pandas parity gate, which is unchanged. - With plotly and graphviz importable, on the drop-in: `test_df_debug.py` 7 passed, `test_parity_frame_plot_plotly.py` 12 passed (the reference passes the plot file too); our `test_pandas_api_takes_its_index_and_plot_is_of_pyspark` passes. - `scripts/tests` (24 passed); both workflows load as YAML. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 This pull request and its description were written by Isaac. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
