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

Matthew Topol resolved ARROW-16983.
-----------------------------------
    Fix Version/s: 9.0.0
       Resolution: Fixed

Issue resolved by pull request 13522
[https://github.com/apache/arrow/pull/13522]

> 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
>             Fix For: 9.0.0
>
>          Time Spent: 40m
>  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)

Reply via email to