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

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

> Write to a bytes path in the writers of the Python client, as PySpark does
> --------------------------------------------------------------------------
>
>                 Key: SPARK-61535
>                 URL: https://issues.apache.org/jira/browse/SPARK-61535
>             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
>
>
> Follow-up of SPARK-61521. The writers' save and 
> parquet/json/csv/orc/text/xml, and DataStreamWriter.start, raise TypeError 
> for a bytes path, while PySpark (on protobuf's default upb backend) sends its 
> UTF-8 text as the path, raises UnicodeDecodeError for bytes that are not 
> UTF-8, and TypeError for other objects such as a bytearray. SPARK-61524 added 
> str_argument, which converts a protobuf string field as upb does; the writer 
> path check of SPARK-61521 should use it.



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