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

Hyukjin Kwon reassigned SPARK-61001:
------------------------------------

    Assignee: Hyukjin Kwon

> Raise the errors of toLocalIterator of the Python client as PySpark does
> ------------------------------------------------------------------------
>
>                 Key: SPARK-61001
>                 URL: https://issues.apache.org/jira/browse/SPARK-61001
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: connect-rust-4.3.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.3.0
>
>
> In PySpark Connect, {{DataFrame.toLocalIterator()}} raises the error of an 
> execution that fails while it iterates. The Rust-backed Python client ends 
> the iteration without an error, so the rows of a failing query look complete: 
> for {{spark.sql("SELECT assert_true(id < 0) AS x FROM range(3)")}}, 
> {{list(df.toLocalIterator())}} raises {{SparkRuntimeException}} 
> {{USER_RAISED_EXCEPTION}} in PySpark 4.3.0, with or without 
> {{prefetchPartitions}}, and is {{[]}} with the client. Raise the error 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