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

[Go] fileBlock.NewMessage should use memory.Allocator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.0.0
    • None
    • Go
    • None

    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

        Activity

          People

            Unassigned Unassigned
            arjantop Arjan Topolovec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: