FelixYBW commented on code in PR #7861:
URL: https://github.com/apache/incubator-gluten/pull/7861#discussion_r1847234919


##########
cpp/core/shuffle/Utils.h:
##########
@@ -72,4 +72,37 @@ arrow::Result<std::shared_ptr<arrow::RecordBatch>> 
makeUncompressedRecordBatch(
 
 std::shared_ptr<arrow::Buffer> zeroLengthNullBuffer();
 
+// MmapFileStream is used to optimize sequential file reading. It uses madvise
+// to prefetch and release memory timely.
+class MmapFileStream : public arrow::io::InputStream {

Review Comment:
   You may contribute MmapFileStream to Apache Arrow in future.



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

Reply via email to