You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by am...@apache.org on 2022/06/23 10:18:26 UTC

[arrow] branch master updated: ARROW-16383: [C++] Disable memory mapping by default in Arrow-C++ (#13419)

This is an automated email from the ASF dual-hosted git repository.

amolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 75ae2cca38 ARROW-16383: [C++] Disable memory mapping by default in Arrow-C++ (#13419)
75ae2cca38 is described below

commit 75ae2cca38ea36c521c9b9c2dc30f8e12762d409
Author: AlvinJ15 <al...@gmail.com>
AuthorDate: Thu Jun 23 05:18:20 2022 -0500

    ARROW-16383: [C++] Disable memory mapping by default in Arrow-C++ (#13419)
    
    Disable memory mapping by default in Arrow-C++
    
    Authored-by: Alvin Chunga <al...@gmail.com>
    Signed-off-by: Alessandro Molina <am...@turbogears.org>
---
 cpp/src/parquet/file_reader.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/parquet/file_reader.h b/cpp/src/parquet/file_reader.h
index 0fc8405493..4b27575f01 100644
--- a/cpp/src/parquet/file_reader.h
+++ b/cpp/src/parquet/file_reader.h
@@ -113,7 +113,7 @@ class PARQUET_EXPORT ParquetFileReader {
   // API Convenience to open a serialized Parquet file on disk, using Arrow IO
   // interfaces.
   static std::unique_ptr<ParquetFileReader> OpenFile(
-      const std::string& path, bool memory_map = true,
+      const std::string& path, bool memory_map = false,
       const ReaderProperties& props = default_reader_properties(),
       std::shared_ptr<FileMetaData> metadata = NULLPTR);