Stand up an Arrow Flight SQL server and connect a Python client to it

domain: arrow.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install pyarrow: pip install pyarrow
  2. Subclass pyarrow.flight.FlightServerBase and implement do_get, do_put, and get_flight_info methods; register the server on a port with server.serve()
  3. Start the server in a background thread or process: server = MyFlightServer('grpc://0.0.0.0:8815'); server.serve()
  4. On the client side: import pyarrow.flight; client = pyarrow.flight.connect('grpc://localhost:8815')
  5. Issue a query by calling client.get_flight_info() with a FlightDescriptor, then retrieve data using client.do_get(ticket) where ticket comes from the FlightInfo response

Known gotchas

Related routes

Connect to a Flight SQL server using ADBC in Python
arrow.apache.org · 5 steps · unrated
Query a database over Arrow Flight SQL using the GetFlightInfo/DoGet request flow
data-engineering · 5 steps · unrated
Build an Arrow Flight RPC server in Python to stream large record batches between processes without serialization overhead
arrow.apache.org · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans