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

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

> Convert a schema to DDL on the server in StructType.toDDL in the Python 
> client as PySpark does
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-61072
>                 URL: https://issues.apache.org/jira/browse/SPARK-61072
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: connect-rust-4.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.3.0
>
>
> In PySpark Connect, {{StructType.toDDL()}} asks the server of the active 
> session to convert the JSON of the schema to DDL, the {{JsonToDDL}} of an 
> {{AnalyzePlanRequest}}, so it returns the DDL of Spark, as {{a INT,`b b` 
> STRING}}.
> The Rust-backed Python client writes the DDL in the client, as {{a int,b b 
> string}}, which does not quote names and does not parse back for a name of a 
> space. Convert it on the server 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