You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/08/02 04:48:30 UTC

[GitHub] [arrow] lhayhurst commented on issue #7877: Adding local persistence to examples/flight/server.py

lhayhurst commented on issue #7877:
URL: https://github.com/apache/arrow/issues/7877#issuecomment-667626890


   Hacking around on this, I was able to implement local storage without too much work. Didn't need the writer (which wouldn't have helped here -- going through the c++ code I think its meant to pass messages back to the client). 
   
   Ended up having to store a pkl of the key along with the arrow file in order to get the 
   
   ```
   self.flights[key] = pyarrow.feather.read_feather(source=feather_file_path)
   ```
   load in __init__ working properly, which felt a little dirty, but ... :shrug: 
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org