You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2026/08/31 22:35:00 UTC
[jira] [Assigned] (SPARK-59137) Update offline tests for the reference __module__ on catalog classes and PythonEvalType (follow-up of SPARK-59117)
[ https://issues.apache.org/jira/browse/SPARK-59137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon reassigned SPARK-59137:
------------------------------------
Assignee: Hyukjin Kwon
> Update offline tests for the reference __module__ on catalog classes and PythonEvalType (follow-up of SPARK-59117)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-59137
> URL: https://issues.apache.org/jira/browse/SPARK-59137
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
>
> Follow-up of SPARK-59117, which set an explicit `__module__` on the PyO3 classes to the reference pyspark path (instead of the PyO3 default "builtins").
> Two older offline tests in python/tests/test_dropin_offline.py still asserted the pre-SPARK-59117 `__module__ == "builtins"` and now fail:
> - test_catalog_result_classes: CatalogMetadata / Database / Table / Function / TablePartition now report `pyspark.sql.catalog`.
> - test_python_eval_type_constants: PythonEvalType now reports `pyspark.util`.
> Update both assertions to the reference module paths, consistent with the tests SPARK-59117 added (test_class_module_matches_reference_path and the test_no_pyclass_reports_builtins_module guard). Test-only change; no source behavior change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org