[
https://issues.apache.org/jira/browse/ARROW-15487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-15487:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Time Spent: 10m
> 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)