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

Hyukjin Kwon reassigned SPARK-62222:
------------------------------------

    Assignee: Hyukjin Kwon

> Cancel the calls of a client in flight when it is closed, and raise as it is 
> the error of a call that fails while another failure is converted, as 
> PySpark's client does
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62222
>                 URL: https://issues.apache.org/jira/browse/SPARK-62222
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: connect-rust-4.4.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> PySpark's channel close cancels every call of the client in flight: a call 
> before its response with CANCELLED 'Channel closed!', and a stream being read 
> with CANCELLED 'Stream removed (Channel closed!)'. The drop-in's close() does 
> not end the calls in flight, which wait for the server's next response, or 
> for its timeout. And PySpark's _handle_error raises the error of a call that 
> fails during the conversion of another failure of the client as grpc gives it 
> (inside_error_handling), where the drop-in converts it too, with its records 
> and its FetchErrorDetails and Config requests.



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