HyukjinKwon opened a new pull request, #688:
URL: https://github.com/apache/spark-connect-rust/pull/688

   ### What changes were proposed in this pull request?
   
   Renames `python/tests/_statistics.py` to `_statistics_cases.py`. 
`_statistics` is also the name of CPython's statistics accelerator. On an 
interpreter that has it built in, such as python-build-standalone 3.11.15, 
`from _statistics import FIXTURE` gets the built-in, and 
`test_statistics_offline.py` and `test_statistics_e2e.py` fail at collection 
with `ImportError`.
   
   ### Why are the changes needed?
   
   So that these tests run on every interpreter.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, tests only.
   
   ### How was this patch tested?
   
   On python-build-standalone 3.11.15, where `_statistics` is built in, 
`test_statistics_offline.py` passed 81 and `test_statistics_e2e.py` 45 against 
a Spark 4.3.0 server. The latter also passed 45 on the official 
`pyspark-client` (`STATISTICS_REFERENCE=1`).
   
   ### 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]

Reply via email to