{"id":18937856,"url":"https://github.com/amoeba/arrow-flight-playground","last_synced_at":"2026-03-22T00:30:18.004Z","repository":{"id":66554384,"uuid":"601418782","full_name":"amoeba/arrow-flight-playground","owner":"amoeba","description":"Various examples related to Apache Arrow Flight.","archived":false,"fork":false,"pushed_at":"2023-06-07T22:14:56.000Z","size":448,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-15T08:12:39.396Z","etag":null,"topics":["apache-arrow","arrow-flight","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amoeba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-14T02:41:04.000Z","updated_at":"2023-04-13T22:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b903c302-9399-4118-b714-4fa23a0fafc4","html_url":"https://github.com/amoeba/arrow-flight-playground","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":"0.14516129032258063","last_synced_commit":"1ae9be03c33620e362b6eb32d16a7f428073bd9f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoeba%2Farrow-flight-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoeba%2Farrow-flight-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoeba%2Farrow-flight-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amoeba%2Farrow-flight-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amoeba","download_url":"https://codeload.github.com/amoeba/arrow-flight-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937700,"owners_count":19721484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-arrow","arrow-flight","cpp"],"created_at":"2024-11-08T12:12:39.952Z","updated_at":"2026-03-22T00:30:17.953Z","avatar_url":"https://github.com/amoeba.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arrow-flight-playground\n\nVarious examples related to [Apache Arrow Flight](https://arrow.apache.org/docs/format/Flight.html).\n\n## Included Examples\n\n- [basic_doput](./basic_doput/): Basic example of the `DoPut` call\n- [headers_call_options](./headers_call_options/): Example of using FlightCallOptions to pass context between a Flight Server and Flight Client\n- [headers_middleware](./headers_middleware/): Example of using Flight Middleware to pass context between a Flight Server and Flight Client\n- [test_flight_stress](./test_flight_stress/): Example of various combinations of Arrow versions and Flight Clients to stress test Flight\n- [distributed_with_opentelemetry](./distributed_with_opentelemetry/): Example of a distributed (multi-server) Flight server with end-to-end OpenTelemetry tracing\n\n\n## Building \u0026 Running\n\nEach example should have its own `CMakeLists.txt` and assumes you have a version of Arrow C++ configured and build elsewhere on your system.\nSome of the examples may container Dockerfiles which will also build the example for you as an alternative to building it yourself.\n\n### Arrow C++\n\nNote: This can be simplified if you're able to install a binary distribution of Apache Arrow system-wide (i.e., `brew install apache-arrow`).\n\nSteps:\n\n1. Set `ARROW_HOME` to a suitable location to install Arrow C++ to\n2. Download or checkout a version of the Apache Arrow source\n3. Make an out-of-source build directory inside the directory from (2) `cpp/build` and `cd` into it\n4. Configure:\n    ```sh\n    cmake .. \\\n        -GNinja \\\n        -DCMAKE_INSTALL_PREFIX=\"$ARROW_HOME\" \\\n        -DARROW_BUILD_INTEGRATION=\"OFF\" \\\n        -DARROW_BUILD_STATIC=\"OFF\" \\\n        -DARROW_BUILD_TESTS=\"OFF\" \\\n        -DARROW_EXTRA_ERROR_CONTEXT=\"ON\" \\\n        -DARROW_WITH_RE2=\"OFF\" \\\n        -DARROW_WITH_UTF8PROC=\"OFF\" \\\n        -DCMAKE_BUILD_TYPE=\"Debug\" \\\n        -DARROW_FLIGHT=\"ON\" \\\n        -DARROW_FILESYSTEM=\"ON\" \\\n        -DARROW_PARQUET=ON\n    ```\n5. `ninja install`\n\n### Each Example\n\nSteps:\n\n1. Set `ARROW_HOME` to where you've installed Arrow C++\n2. Make an out-of-source build directory in `./build` and `cd` into it\n    ```sh\n    cmake .. \\\n        -GNinja \\\n        -DCMAKE_MODULE_PATH=\"$ARROW_HOME/lib/cmake/arrow\"\n    ```\n3. `ninja`\n4. Run `./client` and/or `./server` as appropriate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famoeba%2Farrow-flight-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famoeba%2Farrow-flight-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famoeba%2Farrow-flight-playground/lists"}