You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Matthew Topol (Jira)" <ji...@apache.org> on 2021/09/29 16:20:00 UTC
[jira] [Assigned] (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 ]
Matthew Topol reassigned ARROW-13529:
-------------------------------------
Assignee: Matthew Topol
> 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
> Attachments: main.go
>
>
> [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)