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

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

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

> Take a StructField of metadata that is not a dict, as PySpark does
> ------------------------------------------------------------------
>
>                 Key: SPARK-62230
>                 URL: https://issues.apache.org/jira/browse/SPARK-62230
>             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
>
>
> PySpark takes a StructField whose metadata is not a dict, such as [1, 2]: its 
> toNullable() works, and a plan of it sends json.dumps of the metadata, which 
> the server refuses. The drop-in raises TypeError when the field is made. Take 
> 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