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

Hyukjin Kwon resolved SPARK-62228.
----------------------------------
    Fix Version/s: connect-rust-4.4.0
       Resolution: Fixed

Issue resolved by pull request 938
[https://github.com/apache/spark-connect-rust/pull/938]

> Read the fields of the StructType of a cast and of DataFrame.to() when the 
> plan is rendered and built, as PySpark does
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62228
>                 URL: https://issues.apache.org/jira/browse/SPARK-62228
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> A cast to a plain StructType, or a DataFrame.to() that fails, fixes the 
> struct type at the call in the drop-in, where PySpark reads it when it 
> renders and builds the plan: after a cast, a field appended to the StructType 
> shows in PySpark's repr (STRUCT<A:BIGINT,B:BIGINT>) but not in the drop-in's 
> (STRUCT<A:BIGINT>). Read it as PySpark does.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to