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 2022/07/05 22:43:00 UTC
[jira] [Updated] (ARROW-16983) Delta byte array encoder broken due to memory leak
[ https://issues.apache.org/jira/browse/ARROW-16983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-16983:
-----------------------------------
Labels: pull-request-available (was: )
> Delta byte array encoder broken due to memory leak
> --------------------------------------------------
>
> Key: ARROW-16983
> URL: https://issues.apache.org/jira/browse/ARROW-16983
> Project: Apache Arrow
> Issue Type: Bug
> Components: Go, Parquet
> Reporter: Matt DePero
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The `DeltaByteArrayEncoder` has a memory leak due to a bug in how `EstimatedDataEncodedSize` is calculated. DeltaByteArrayEncoder extends `encoder` which calculates EstimatedDataEncodedSize by calling `Len()` on its `PooledBufferWriter` sink. DeltaByteArrayEncoder however does not write data to sink, instead writing data to `prefixEncoder` and `suffixEncoder` causing EstimatedDataEncodedSize to always return zero.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)