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

Yibo Cai resolved ARROW-15487.
------------------------------
    Fix Version/s: 8.0.0
       Resolution: Fixed

Issue resolved by pull request 12302
[https://github.com/apache/arrow/pull/12302]

> [C++][FlightRPC] Add FlightClient::Close
> ----------------------------------------
>
>                 Key: ARROW-15487
>                 URL: https://issues.apache.org/jira/browse/ARROW-15487
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, FlightRPC
>            Reporter: David Li
>            Assignee: David Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> We should add an explicit Close() method to Flight clients. For backwards 
> compatibility, the client destructor should call Close().
> For gRPC, we do not have an explicit Close() method provided by gRPC, so it 
> will just be a no-op (or perhaps explicitly drop the reference to the 
> underlying gRPC client). When ARROW-15473 is implemented, Close() could 
> cancel all calls and drop the reference.
> For UCX, we will need an explicit Close() to clean up resources (and return 
> error codes), so this will be useful then.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to