I am using api gateway proxy for s3 to read feather files. Below is the simplest form of the code I am using.
import pandas as pd
s3_data=pd.read_feather('https://<api_gateway>/<bucket_name/data.feather>')
This gives an error -
reader = _feather.FeatherReader(source, use_memory_map=memory_map)
File "pyarrow\_feather.pyx", line 75, in pyarrow._feather.FeatherReader.__cinit__
File "pyarrow\error.pxi", line 143, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow\error.pxi", line 114, in pyarrow.lib.check_status
OSError: Verification of flatbuffer-encoded Footer failed.
If I keep the feather file on my local and read it like below, all works fine.
s3_data=pd.read_feather("file://localhost//C://Users//<Username>//Desktop//data.feather")
How do I make this work ?