You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anish Shrigondekar (Jira)" <ji...@apache.org> on 2025/10/10 19:18:00 UTC

[jira] [Resolved] (SPARK-53822) Add python transform_with_state test case for output schemas containing composite StructType/nested StructType like ArrayType/MapType

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

Anish Shrigondekar resolved SPARK-53822.
----------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 52536
[https://github.com/apache/spark/pull/52536]

> Add python transform_with_state test case for output schemas containing composite StructType/nested StructType like ArrayType/MapType
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-53822
>                 URL: https://issues.apache.org/jira/browse/SPARK-53822
>             Project: Spark
>          Issue Type: Test
>          Components: Structured Streaming
>    Affects Versions: 4.0.1
>            Reporter: Jason Teoh
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Existing test case `test_transform_with_state_in_pandas_composite_type` does cover composite schemas, but only within the state API.  The output type of that test case is still strings (e.g., dicts are json dumped into a string).
> This ticket is to add a test case where the output of the transform_with_state operation itself contains nested types.



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