ianmcook commented on PR #41: URL: https://github.com/apache/arrow-experiments/pull/41#issuecomment-2492132895
It seems like the response that the Swift server is serving is not a valid Arrow IPC stream. Here's what I tried to do: 1. Start the Swift server. 2. Use `curl` to connect to the server and download the data to a file: ```sh curl -o file.arrows http://127.0.0.1:8081 ``` 3. In Python, try to read the file with PyArrow: ```py import pyarrow as pa with open('file.arrows', 'rb') as f: reader = pa.ipc.open_stream(f) reader.schema reader.read_next_batch() reader.read_next_batch() ``` When I do this, PyArrow raises the error: ``` Invalid flatbuffers message. ``` Do you know what's causing this? Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
