Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2701

[C++] Make MemoryMappedFile resizable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Component/s: C++

      Description

      Hi,

      I don't see any reason for the MemoryMappedFile not to be resizable, e.g. like it is in Python stdlib. This patch changes the base class of MemoryMappedFile to ResizableBuffer and implements mmap resizing similar to mmap.resize from python stdlib.

      If the change is ok, we should probably change the comment here, too.

      Cheers,

      Dimitri.

        Attachments

          Activity

            People

            • Assignee:
              alendit Dimitri Vorona
              Reporter:
              alendit Dimitri Vorona
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 11h 20m
                11h 20m