You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/29 16:22:00 UTC

[jira] [Updated] (ARROW-13529) Too many releases in IPC writer when writing slices

     [ https://issues.apache.org/jira/browse/ARROW-13529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-13529:
-----------------------------------
    Labels: pull-request-available  (was: )

> Too many releases in IPC writer when writing slices
> ---------------------------------------------------
>
>                 Key: ARROW-13529
>                 URL: https://issues.apache.org/jira/browse/ARROW-13529
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Go
>    Affects Versions: 5.0.0
>            Reporter: Curt Hash
>            Assignee: Matthew Topol
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: main.go
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [https://github.com/apache/arrow/blob/master/go/arrow/ipc/writer.go#L441]
> In the {{*arrow.StringType}} case, in the {{needTruncate}} code path (happens when writing a {{record.NewSlice}}), a reference to {{data.buffers[2]}} is appended to the payload body. It gets {{Release}}'d [here|https://github.com/apache/arrow/blob/122985841dcedd13bee5388cf5cb887f75cb4527/go/arrow/ipc/file_writer.go#L247] without any {{Retain}}.
> The code for the {{FixedWidthType}} and {{BinaryType}} cases is similar.
> The attached code reproduces the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)