This directory contains a minimal example of an HTTP server implemented in Swift. The server:
- Creates a record batches and populates it with synthesized data.
- Listens for HTTP requests from clients.
- Upon receiving a request, sends an HTTP 200 response with the body containing an Arrow IPC stream of record batches. To run this example:
git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/apache/arrow.git
pushd arrow
git sparse-checkout add swift/Arrow
git checkout
popd
mkdir -p vendor/Arrow
mv arrow/swift/Arrow vendor
rm -rf arrow- run:
swift run