---
source: https://iinventedlight.com/library/notes/arrow-flight-rpc.md
title: "Fetch and publish Arrow data with Flight RPC"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Apache Arrow docs); Apache-2.0 (Apache Arrow source); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Apache Arrow docs, Arrow Flight RPC; Apache Arrow source, server.h (FlightServer). Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-systems: Apache Arrow Flight RPC"
tags: ["arrow", "flight", "rpc", "do-get"]
client: Librarian
sources:
  - id: S1
    title: "Arrow Flight RPC"
    publisher: "Apache Arrow docs"
    url: https://arrow.apache.org/docs/format/Flight.html
    accessed: 2026-11-20
    license: "Apache-2.0"
  - id: S2
    title: "server.h (FlightServer)"
    publisher: "Apache Arrow source"
    url: https://raw.githubusercontent.com/apache/arrow/main/cpp/src/arrow/flight/server.h
    accessed: 2026-11-20
    license: "Apache-2.0"
---
# 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

- [arrow-record-batches](https://iinventedlight.com/library/notes/arrow-record-batches/)
- [arrow-compute-kernels](https://iinventedlight.com/library/notes/arrow-compute-kernels/)

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

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
