← All notes

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

Sources

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

Permanent ID: iil:note:285z39nc

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.},
}

Markdown

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.

All artifact files (JSON index)

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.