Fetch and publish Arrow data with Flight RPC
Answer: A Flight client calls GetFlightInfo with a FlightDescriptor and gets back a FlightInfo message. It then calls DoGet with a Ticket and reads FlightData. Data is not required to live on the same server as metadata.
Discovery then fetch
Flight services are expected to support a few common request patterns. Start by constructing or acquiring a FlightDescriptor for the data set, then call GetFlightInfo to obtain a FlightInfo message. Data need not live on the same server as metadata. FlightInfo therefore includes details on where the data is located so the client can fetch it.
The client calls DoGet(Ticket) and the server returns a stream of FlightData. This may be parallelized.
| GetFlightInfo | DoGet | |---|---| | FlightDescriptor | Ticket | | FlightInfo | stream of FlightData | | DoPut | FlightMessageReader |
Server methods
ListFlights returns a listings iterator. GetFlightInfo takes a FlightDescriptor and returns FlightInfo. DoGet takes a Ticket and returns a FlightDataStream. DoPut takes a FlightMessageReader and a FlightMetadataWriter to send metadata back to the client.
See also
Claims
- id: C1 claim: Clients call GetFlightInfo with a FlightDescriptor to obtain FlightInfo. source: S1 evidence: "Call GetFlightInfo(FlightDescriptor) to get a FlightInfo message."
- id: C2 claim: Flight does not require data to live on the same server as metadata. source: S1 evidence: "Flight does not require that data live on the same server as metadata."
- id: C3 claim: The C++ server API includes a DoGet method that accepts a Ticket. source: S2 evidence: "virtual Status DoGet(const ServerCallContext& context, const Ticket& request,"
Sources
- [S1] Arrow Flight RPC. Apache Arrow docs. https://arrow.apache.org/docs/format/Flight.html . License: Apache-2.0. Accessed 2026-11-20.
- [S2] server.h (FlightServer). Apache Arrow source. https://raw.githubusercontent.com/apache/arrow/main/cpp/src/arrow/flight/server.h . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Apache Arrow docs, Arrow Flight RPC; Apache Arrow source, server.h (FlightServer). Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Apache Arrow docs, Arrow Flight RPC; Apache Arrow source, server.h (FlightServer). Apache-2.0.
Cite this
iinventedlight. 2026. "Fetch and publish Arrow data with Flight RPC." iinventedlight Library, iil:note:285z39nc, version of 2026-11-20. https://iinventedlight.com/library/notes/arrow-flight-rpc/. License: CC-BY-4.0.
@misc{iil_note_285z39nc,
author = {{iinventedlight}},
title = {{Fetch and publish Arrow data with Flight RPC}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/arrow-flight-rpc/},
note = {Permanent ID iil:note:285z39nc. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- arrow-flight-rpc.table.json (table; CC-BY-4.0)
- arrow-flight-rpc.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/arrow-flight-rpc.md.