yangxk1 commented on code in PR #861:
URL: https://github.com/apache/incubator-graphar/pull/861#discussion_r2872293840
##########
cpp/src/graphar/arrow/chunk_reader.h:
##########
@@ -267,6 +268,7 @@ class VertexPropertyArrowChunkReader {
IdType vertex_num_;
std::shared_ptr<arrow::Schema> schema_;
std::shared_ptr<arrow::Table> chunk_table_;
+ LRUCache<IdType, std::shared_ptr<arrow::Table>> chunk_cache_{4};
Review Comment:
Putting it in the options and having a default value is a good temporary
solution. Maybe we can open a new issue to track it until we can come up with a
solution that balances memory, user experience, and efficiency.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]