abandy commented on PR #41:
URL: https://github.com/apache/arrow-experiments/pull/41#issuecomment-2492737392

   > 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:
   > 
   > ```shell
   > curl -o file.arrows http://127.0.0.1:8081
   > ```
   > 
   > 3. In Python, try to read the file with PyArrow:
   > 
   > ```python
   > 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
   
   I know there was an issue with the latest version of flatbuffers and Swift 
Arrow. Swift Arrow is bound to a specific version.  Could be this is causing 
the issue.  I will look into it.


-- 
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]

Reply via email to