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

[Go] fileBlock.NewMessage should use memory.Allocator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0
    • 9.0.0
    • Go

    Description

      The current implementation of ipc.FileReader does not use the memory.Allocator interface. Reading records from a file results in a large number of allocations since the record body buffer is allocated each time without reuse.

      https://github.com/apache/arrow/blob/master/go/arrow/ipc/metadata.go#L106

      Attachments

        Issue Links

          Activity

            People

              zeroshade Matthew Topol
              arjantop Arjan Topolovec
              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 - 40m
                  40m