You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/02/01 23:44:00 UTC

[jira] [Updated] (SPARK-55303) Create golden file test framework

     [ https://issues.apache.org/jira/browse/SPARK-55303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-55303:
-----------------------------------
    Labels: pull-request-available  (was: )

> Create golden file test framework
> ---------------------------------
>
>                 Key: SPARK-55303
>                 URL: https://issues.apache.org/jira/browse/SPARK-55303
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Yicong Huang
>            Priority: Major
>              Labels: pull-request-available
>
> The recent coercion test refactoring (SPARK-55114, SPARK-55135, SPARK-55164, SPARK-55235) introduced a pandas-based golden file testing pattern. These four test files in {{pyspark.sql.tests.coercion}} share significant duplicated code:
> - Timezone setup/teardown for deterministic results
> - Golden file read/write with {{SPARK_GENERATE_GOLDEN_FILES}} env var
> - Type/value string serialization helpers
> Proposing to extract a {{GoldenFileTestMixin}} in {{pyspark.testing}} to reduce duplication and make it easier to add new golden file based tests in the future.



--
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