[ 
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)

Reply via email to